[IPython-dev] 0.11rc1 : problem with tutorial for PBS in http://ipython.org/ipython-doc/dev/parallel/parallel_process.html

Thomas Kluyver takowl at gmail.com
Wed Jul 6 10:34:38 EDT 2011


On 6 July 2011 14:55, Johann Cohen-Tanugi <johann.cohentanugi at gmail.com>wrote:

> hmmm isn't it :
>
>     def find_args(self):
>         return self.submit_command + [self.batch_file]
>
> in BatchSystemLauncher that I need to overwrite?
>

find_args produces the list of args which are fed to Popen by
BatchSystemLauncher.start(). Replacing it won't fix this problem.

The line you need to look at is in the start method:

output = check_output(self.args, env=os.environ)

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110706/1e1adb2e/attachment.html>


More information about the IPython-dev mailing list