[IPython-dev] 0.11rc1 : problem with tutorial for PBS in http://ipython.org/ipython-doc/dev/parallel/parallel_process.html
MinRK
benjaminrk at gmail.com
Fri Jul 8 17:19:18 EDT 2011
Thanks for this!
I'll look through it when I have some time, which won't be before
Tuesday afternoon.
-MinRK
On Thu, Jul 7, 2011 at 03:43, Johann Cohen-Tanugi
<johann.cohentanugi at gmail.com> wrote:
> ok thanks a lot. I am attaching the LSF code I added to launcher.py. It
> seems to do what I expect on my LSF batch farm.
> In order to pipe I follow Mathias' suggestion but the code could probably
> use expert's check. Especially I have python 2.6.5 so I modified the
> corresponding version of check_output at the top of launcher.py. Maybe my
> code does not work for python > 2.7 then?
>
> Feel free to include it if it is deemed reasonable, or to make any
> modifications you guys see fit.
> best,
> Johann
>
> On 07/06/2011 04:34 PM, Thomas Kluyver wrote:
>
> 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
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
More information about the IPython-dev
mailing list