<br><font size=2 face="sans-serif">On </font><font size=1 face="sans-serif">02/15/2010 19:17 Ashley Pittman <ashley@pittman.co.uk> wrote:</font>
<br>
<br><font size=2 face="Courier New">>On 9 Feb 2010, at 16:03, thipadin.seng-long@bull.net wrote:<br>
<br>
>> I've eventually combined my previous coding for mpich2 and openmpi wrapper on LSF as we discussed. <br>
>> I hope you haven't yet commit the previous sending. <br>
>> In the "outer" side we can store differents combined jobs (whatever mpich2 or openmpi) in the table. <br>
>> Each job is tagged in jobid{lsf_mpi} = 1 for mpich2 and 2 for openmpi. <br>
>> The flag is passed through inner_conf{lsf_mpi} to the inners processus so they can do differents treatments for each wrapper  to find the processus. <br>
>> The RMGR is 'lsf-mpiwr' as mpi wrapper as it must be lauched by a wrapper. So It can be used for further mpi wrapper. <br>
><br>
>I've renamed the rmgr as lsf rather than lsf-mpiwr as the -mpiwr only serves to add confusion.  If and when >better LSF support comes along it can share the same rmgr setting.  I also changed lsf_mpi to lsf_mode and gave >it string values instead of int values as well as this should make the code easier to read.<br>
><br>
>> I've enjoyed  meeting you. Hoping you can come often to CEA. <br>
> I hope you'll commit it soon as we expect to deliver to CEA soon. <br>
><br>
>Thank you very much for the patch, I'm back from Holiday now so have some time to look at this again.<br>
><br>
>I've committed a variant as r388.  I hope I haven't broken anything but can you test it please.  I'm interested >to see the output if a valid LSF job is specified but it doesn't use a wrapper of the correct style, is a >correct and clear error message given in this case?  As I said I don't have access to LSF myself so I've tried >to keep any changes to a minimum.<br>
<br>
>Ashley,</font>
<br>
<br><font size=2 face="Courier New">I tested the 3.2 beta0 release version, you just missed slurm_cmd at line 919 as below:</font>
<br><font size=2 face="Courier New">[senglont@artemis1 lsf-ompi]$ ./padb -O rmgr=lsf -atx</font>
<br><font size=2 face="Courier New">Undefined subroutine &main::slurm_cmd called at ./padb line 919.</font>
<br><font size=2 face="Courier New">[senglont@artemis1 lsf-ompi]$ ./padb -V</font>
<br><font size=2 face="Courier New">padb version 3.2 (Revision 389)</font>
<br>
<br><font size=2 face="Courier New">Written by Ashley Pittman</font>
<br><font size=2 face="Courier New">http://padb.pittman.org.uk</font>
<br><font size=2 face="Courier New">[senglont@artemis1 lsf-ompi]$</font>
<br>
<br><font size=2 face="Courier New">sources is:</font>
<br><font size=2 face="Courier New">sub slurp_remote_cmd {</font>
<br><font size=2 face="Courier New">    my ( $host, $cmd ) = @_;</font>
<br><font size=2 face="Courier New">    return slurm_cmd("ssh $host $cmd");</font>
<br><font size=2 face="Courier New">}</font>
<br>
<br><font size=2 face="Courier New">I guess it should have been 'slurp_cmd' instead of 'slurm_cmd'.</font>
<br><font size=2 face="Courier New">I'll modify myself and re-try.</font>
<br>
<br><font size=2 face="Courier New">Thipadin.</font>
<br>