Show More
@@ -190,7 +190,7 b' def clusterLocal(opt,arg):' | |||||
190 | logfile = pjoin(logdir_base,'ipcluster-') |
|
190 | logfile = pjoin(logdir_base,'ipcluster-') | |
191 |
|
191 | |||
192 | print 'Starting controller:', |
|
192 | print 'Starting controller:', | |
193 | controller = Popen(['ipcontroller','--logfile',logfile]) |
|
193 | controller = Popen(['ipcontroller','--logfile',logfile,'-x','-y']) | |
194 | print 'Controller PID:',controller.pid |
|
194 | print 'Controller PID:',controller.pid | |
195 |
|
195 | |||
196 | print 'Starting engines: ', |
|
196 | print 'Starting engines: ', | |
@@ -199,7 +199,8 b' def clusterLocal(opt,arg):' | |||||
199 | englogfile = '%s%s-' % (logfile,controller.pid) |
|
199 | englogfile = '%s%s-' % (logfile,controller.pid) | |
200 | mpi = opt.mpi |
|
200 | mpi = opt.mpi | |
201 | if mpi: # start with mpi - killing the engines with sigterm will not work if you do this |
|
201 | if mpi: # start with mpi - killing the engines with sigterm will not work if you do this | |
202 |
engines = [Popen(['mpirun', '-np', str(opt.n), 'ipengine', '--mpi', |
|
202 | engines = [Popen(['mpirun', '-np', str(opt.n), 'ipengine', '--mpi', | |
|
203 | mpi, '--logfile',englogfile])] | |||
203 | # engines = [Popen(['mpirun', '-np', str(opt.n), 'ipengine', '--mpi', mpi])] |
|
204 | # engines = [Popen(['mpirun', '-np', str(opt.n), 'ipengine', '--mpi', mpi])] | |
204 | else: # do what we would normally do |
|
205 | else: # do what we would normally do | |
205 | engines = [ Popen(['ipengine','--logfile',englogfile]) |
|
206 | engines = [ Popen(['ipengine','--logfile',englogfile]) |
@@ -69,7 +69,7 b' def start_engine():' | |||||
69 | except: |
|
69 | except: | |
70 | mpi = None |
|
70 | mpi = None | |
71 | else: |
|
71 | else: | |
72 | mpi = mpi_namespace.get('mpi') |
|
72 | mpi = None | |
73 |
|
73 | |||
74 | # Start logging |
|
74 | # Start logging | |
75 | logfile = kernel_config['engine']['logfile'] |
|
75 | logfile = kernel_config['engine']['logfile'] |
@@ -33,6 +33,10 b' New features' | |||||
33 | * String lists now support 'sort(field, nums = True)' method (to easily |
|
33 | * String lists now support 'sort(field, nums = True)' method (to easily | |
34 | sort system command output). Try it with 'a = !ls -l ; a.sort(1, nums=1)' |
|
34 | sort system command output). Try it with 'a = !ls -l ; a.sort(1, nums=1)' | |
35 | * '%cpaste foo' now assigns the pasted block as string list, instead of string |
|
35 | * '%cpaste foo' now assigns the pasted block as string list, instead of string | |
|
36 | * The ipcluster script now run by default with no security. This is done because | |||
|
37 | the main usage of the script is for starting things on localhost. Eventually | |||
|
38 | when ipcluster is able to start things on other hosts, we will put security | |||
|
39 | back. | |||
36 |
|
40 | |||
37 |
|
41 | |||
38 |
|
42 |
General Comments 0
You need to be logged in to leave comments.
Login now