These are chat archives for ipython/ipython

17th
Feb 2015
Jessica B. Hamrick
@jhamrick
Feb 17 2015 13:36
Hmm, I am trying to run the release candidate on windows and when I start a kernel it apparently takes up 3gb of memory?!
Hmm, apparently only happens with the python3 kernel
Curious
Thomas Wiecki
@twiecki
Feb 17 2015 13:56
in the IPython NB tab "cluster", which kernel gets used and how can I change it?
Mathieu
@mathieu1
Feb 17 2015 14:05
A minor related question : is it ever relevant that the “cluster” tab displays clusters for other profiles than the current one?
Jessica B. Hamrick
@jhamrick
Feb 17 2015 14:07
@twiecki It uses whatever kernel is the one corresponding to the version of ipython you're running (so if you're running ipython with python 3, it will be the python 3 kernel). There might also be a config option for this, but what I've done in the past has been to just run the cluster from the command line with the version of ipython that I want.
@mathieu1 I'm not sure, but I don't think so.
Jessica B. Hamrick
@jhamrick
Feb 17 2015 14:12
You can start the cluster from the command line with ipcluster start and then use --n for the number of engines that you want and --profile for the profile.
Thomas Wiecki
@twiecki
Feb 17 2015 14:16
@jhamrick thanks. this is a jupyterhub though so no shell access for users
and I suppose the ipcluster also needs a kernel flag
Jessica B. Hamrick
@jhamrick
Feb 17 2015 14:18
I think in the profile you can set what is the default kernel
Hmm, if there's no shell access then that's a problem, I'm not sure if there's another way to do it
Scott Sanderson
@ssanderson
Feb 17 2015 14:20
@twiecki can you just start the ipcluster from IPython with a ! command?
Cedric GESTES
@cgestes
Feb 17 2015 14:21
Guy's why isn't it advised to connect two notebooks to the same kernel? it seems to works, even if events seems to be all routed to the two windows.
Thomas Wiecki
@twiecki
Feb 17 2015 15:14
@ssanderson good idea. I suppose I'd have to figure out how to change the kernel there then
Thomas Kluyver
@takluyver
Feb 17 2015 17:43
@/all I'm assuming there's no meeting today, since so many people are at Strata or in Scandinavia
but I can run one if people want. Matthias and I are in the office
Jason Grout
@jasongrout
Feb 17 2015 17:53
does that mean we can get lots of our PRs merged? :)
Min RK
@minrk
Feb 17 2015 17:56
@twiecki IPython.parallel doesn't use the kernelspec machinery. The cluster config can use any ipengine command to start the engines. You can have a Python2 and Python3 profile, for instance.
Min RK
@minrk
Feb 17 2015 18:01
@mathieu1 yes, you can always use clusters of any profile from any other profile.
Damian Avila
@damianavila
Feb 17 2015 18:04
@takluyver, I assumed the same... but, who is in Scandinavia?
Thomas Kluyver
@takluyver
Feb 17 2015 18:05
Min
I think
Damian Avila
@damianavila
Feb 17 2015 18:07
oh... interesting place to visit, I guess...
Mathieu
@mathieu1
Feb 17 2015 18:10
@minrk thanks
Min RK
@minrk
Feb 17 2015 18:11
I'm in a plane over Sweden with intermittent wifi
Thomas Kluyver
@takluyver
Feb 17 2015 18:23
I hear they rig up reindeer as mobile wifi hotspots ;-)
Justin Tyberg
@jtyberg
Feb 17 2015 22:26
@takluyver Are there minimum requirements for using your IRkernel? I have R 3.0.2 installed, IRdisplay, IRkernel and all deps installed, R kernelspec in place, R notebook running, but no output from run cells.
Thomas Kluyver
@takluyver
Feb 17 2015 22:31
@jtyberg it might be related to a ZMQ version - there's a long running issue open for that behaviour, and I suspect it has multiple different causes. takluyver/IRkernel#8
Justin Tyberg
@jtyberg
Feb 17 2015 22:46
ok. thx, @takluyver. i'll start investigating zmq version.
Jason Grout
@jasongrout
Feb 17 2015 23:57
@jdfreder - thanks for your comments on the custom serialization PR