Show More
@@ -61,7 +61,7 b" default_config_file_name = u'ipython_config.py'" | |||
|
61 | 61 | _examples = """ |
|
62 | 62 | ipython --pylab # start in pylab mode |
|
63 | 63 | ipython --pylab=qt # start in pylab mode with the qt4 backend |
|
64 |
ipython --log |
|
|
64 | ipython --log-level=DEBUG # set logging to DEBUG | |
|
65 | 65 | ipython --profile=foo # start with profile foo |
|
66 | 66 | |
|
67 | 67 | ipython qtconsole # start the qtconsole GUI application |
@@ -576,7 +576,7 b' class SSHEngineLauncher(SSHLauncher):' | |||
|
576 | 576 | help="remote ipengine command.") |
|
577 | 577 | # Command line arguments for ipengine. |
|
578 | 578 | program_args = List( |
|
579 | ['--log-to-file','log_level=%i'%logging.INFO], config=True, | |
|
579 | ['--log-to-file','--log_level=%i'%logging.INFO], config=True, | |
|
580 | 580 | help="Command line arguments to ipengine." |
|
581 | 581 | ) |
|
582 | 582 |
@@ -87,7 +87,7 b' All options with a [no] prepended can be specified in negated form' | |||
|
87 | 87 | execute the given command string. This is similar to the -c |
|
88 | 88 | option in the normal Python interpreter. |
|
89 | 89 | |
|
90 |
``--cache |
|
|
90 | ``--cache-size=<n>`` | |
|
91 | 91 | size of the output cache (maximum number of entries to hold in |
|
92 | 92 | memory). The default is 1000, you can change it permanently in your |
|
93 | 93 | config file. Setting it to 0 completely disables the caching system, |
@@ -253,7 +253,7 b' to specify your own. Here is a sample PBS script template:' | |||
|
253 | 253 | cd $PBS_O_WORKDIR |
|
254 | 254 | export PATH=$HOME/usr/local/bin |
|
255 | 255 | export PYTHONPATH=$HOME/usr/local/lib/python2.7/site-packages |
|
256 |
/usr/local/bin/mpiexec -n {n} ipengine --profile |
|
|
256 | /usr/local/bin/mpiexec -n {n} ipengine --profile-dir={profile_dir} | |
|
257 | 257 | |
|
258 | 258 | There are a few important points about this template: |
|
259 | 259 | |
@@ -288,7 +288,7 b' The controller template should be similar, but simpler:' | |||
|
288 | 288 | cd $PBS_O_WORKDIR |
|
289 | 289 | export PATH=$HOME/usr/local/bin |
|
290 | 290 | export PYTHONPATH=$HOME/usr/local/lib/python2.7/site-packages |
|
291 |
ipcontroller --profile |
|
|
291 | ipcontroller --profile-dir={profile_dir} | |
|
292 | 292 | |
|
293 | 293 | |
|
294 | 294 | Once you have created these scripts, save them with names like |
@@ -373,8 +373,8 b" The controller's remote location and configuration can be specified:" | |||
|
373 | 373 | # Set the arguments to be passed to ipcontroller |
|
374 | 374 | # note that remotely launched ipcontroller will not get the contents of |
|
375 | 375 | # the local ipcontroller_config.py unless it resides on the *remote host* |
|
376 |
# in the location specified by the `profile |
|
|
377 |
# c.SSHControllerLauncher.program_args = ['--reuse', '--ip=*', '--profile |
|
|
376 | # in the location specified by the `profile-dir` argument. | |
|
377 | # c.SSHControllerLauncher.program_args = ['--reuse', '--ip=*', '--profile-dir=/path/to/cd'] | |
|
378 | 378 | |
|
379 | 379 | .. note:: |
|
380 | 380 | |
@@ -390,7 +390,7 b' on that host.' | |||
|
390 | 390 | |
|
391 | 391 | c.SSHEngineSetLauncher.engines = { 'host1.example.com' : 2, |
|
392 | 392 | 'host2.example.com' : 5, |
|
393 |
'host3.example.com' : (1, ['--profile |
|
|
393 | 'host3.example.com' : (1, ['--profile-dir=/home/different/location']), | |
|
394 | 394 | 'host4.example.com' : 8 } |
|
395 | 395 | |
|
396 | 396 | * The `engines` dict, where the keys are the host we want to run engines on and |
@@ -403,7 +403,7 b' a single location:' | |||
|
403 | 403 | |
|
404 | 404 | .. sourcecode:: python |
|
405 | 405 | |
|
406 |
c.SSHEngineSetLauncher.engine_args = ['--profile |
|
|
406 | c.SSHEngineSetLauncher.engine_args = ['--profile-dir=/path/to/profile_ssh'] | |
|
407 | 407 | |
|
408 | 408 | Current limitations of the SSH mode of :command:`ipcluster` are: |
|
409 | 409 |
General Comments 0
You need to be logged in to leave comments.
Login now