-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel keep dying #178
Comments
Probably a duplicate of #177. Can you try |
Hi Steven, The problem is still there with ZMQ 0.1.11 |
I can't reproduce the problem on my Mac with the latest 0.2.1 build. What version of MacOS X do you have? |
What is the exact error output in the Terminal from running Can you try running the bare IJulia kernel to see if there is a more informative error message? In the Terminal,
|
(Note that if you updated Julia recently, you will need to run |
I have OSX Mavericks 10.9.3. When running a bare IJulia kernel, I get fayard@speed:~$ /Applications/Julia.app/Contents/Resources/julia/bin/julia Is it what is expected ? |
I have switched to Julia 0.3-dev, compiled from source, and the problem is the same. Here is what the console gives me : fayard@speed:~$ ipython notebook --profile julia |
Just to confirm I am having this problem too. I'm on latest Mavericks with Julia 0.2.1 and ipython 2.0.0. My colleague sitting next to me works fine on OS X 10.8.5 with Julia 0.2.1 and ipython 1.1.0. |
Same problem here. On my desktop, with 10.8.5, Anaconda 1.9.2, Julia 0.2.1, ijulia works fine. There a few other differences in between the 2 machines (HomeBrew is available on the laptop, not on the desktop), but the OSX version is worth investigating. |
I just tried on a fresh machine with 10.9.1, Anaconda, and Julia 0.2.1, and it works fine for me. I suppose I could try 10.9.3. |
Could you all try |
Tried Pkg.update() and no change for me, sorry. On 20 May 2014 18:32, Keno Fischer [email protected] wrote:
|
Steven, That's why I am not 100% sure about the OS version. I used to have a 10.9.x box with Anaconda 1.9.2 and Julia 0.2.1 which was working. Maybe 10.9.3 is the culprit. |
@louisaslett Does it show any error messages? We fixed a ZMQ issue recently that caused this issue (though basically every issue could cause these symptoms so I'm not saying it's fixed necessarily). |
Loladiro, Same as Louis. Pkg.update() does not change anything. I have erased .ipython and .julia folder and built everything again and it does not work. ZMQ is 0.1.11 and still is does not work. |
@loladiro Indeed, I silently followed that issue and after updating the ZMQ related errors disappeared, but the kernel restart messages remained anyway: ipython notebook --profile julia |
Just tried on MacOS 10.9.3 with Julia 0.2.1 (and Anaconda 2.0.4 with IPython 1.1), and it works fine for me. |
One thing that I sometimes do for debugging: turn off the interception of STDOUT/STDERR, since that can swallow error messages. In
and also comment out
Then see if it reports any more information (in the Terminal) from the kernel restart. |
Thanks Steven. We are getting closer :
For information, in my shell, export gives me :
By the way, how do you put formatted code in your posts ? |
@InsideLoop, you can put formatted code blocks in a post by surrounding it with ``` |
So |
No it doesn't.
|
Weird, I wonder why I have it and you don't? Maybe because I installed Xcode? Can you verify that Maybe we should be using some libuv thread function ( |
Steven, I have it on my computer :
Do you have any environment variables for librairies ? I have :
If I remove it, I can load libpthread
but then I have the following error with IJulia :
Maybe I should compile again Julia without this environment variable. |
@staticfloat, any clue as to why |
Okay, I've just pushed a patch that uses libuv thread functions for the heartbeat, which simplifies the code and should hopefully work around this issue. Can you try |
Steven, Found the problem. I removed the
from my .bash_profile. Then, I've erased .julia and I did Pkg.add("IJulia"). Everything is fine now. |
@InsideLoop, great to know what the problem was! With the new version it should work out of the box, though, since I avoid loading libpthread dynamically. |
Steven, I put back all my DYLD environment variables in my .bash_profile :
and now everything works fine with those variables. Thanks for your help. Just seen your webpage. Nice to get computer help from a PDE guy :-) |
OS X Mavericks 10.9.4 Julia 0.2.1 Latest version of Anaconda. Tried PkgUpdate etc several times. DO not have any DYLD paths in bash_profile 2014-08-26 00:42:37.057 [NotebookApp] Using existing profile dir: u'/Users/alex/.ipython/profile_julia' zmq (libzmq) Please re-run Pkg.build(package), and restart Julia. |
Hi,
I am using Anaconda 1.9.2 and Julia 0.2.1 on Mac OSX 10.9. When I launch IJulia with
ipython notebook --profile julia
and I create a new notebook, the kernel keeps dying without doing anything. The output of versioninfo(true) is :
Julia Version 0.2.1
Commit e44b593* (2014-02-11 06:30 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin12.5.0)
WORD_SIZE: 64
uname: Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64 i386
Memory: 16.0 GB (7030.3125 MB free)
Uptime: 133826.0 sec
Load Avg: 1.55566 1.57129 1.62061
Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz:
speed user nice sys idle irq
#1 2300 MHz 40258 s 0 s 33578 s 361861 s 0 s
#2 2300 MHz 8713 s 0 s 3892 s 423032 s 0 s
#3 2300 MHz 37253 s 0 s 12499 s 385921 s 0 s
#4 2300 MHz 8626 s 0 s 3820 s 423182 s 0 s
#5 2300 MHz 37760 s 0 s 12505 s 385394 s 0 s
#6 2300 MHz 8778 s 0 s 3832 s 423008 s 0 s
#7 2300 MHz 37470 s 0 s 12495 s 385683 s 0 s
#8 2300 MHz 8473 s 0 s 3793 s 423344 s 0 s BLAS: libgfortblas
LAPACK: liblapack
LIBM: libopenlibm
Environment:
DYLD_FALLBACK_LIBRARY_PATH = /usr/local/anaconda/lib
TERM = xterm-256color
PATH = /Applications/Julia.app/Contents/Resources/julia/bin:/usr/local/anaconda/bin:/Users/fayard/anaconda/bin:/usr/local/mysql/bin:/usr/local/anaconda/bin:/usr/local/cuda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
HOME = /Users/fayard
DYLD_LIBRARY_PATH = /usr/local/cuda/lib:
FONTCONFIG_PATH = /Applications/Julia.app/Contents/Resources/julia/etc/fonts
GIT_EXEC_PATH = /Applications/Julia.app/Contents/Resources/julia/libexec/git-core
Package Directory: /Users/fayard/.julia/v0.2
Required packages:
Additional packages:
The text was updated successfully, but these errors were encountered: