<br><font size=2 face="sans-serif">On </font><font size=1 face="sans-serif">02/15/2010 19:17 Ashley Pittman &lt;ashley@pittman.co.uk&gt; wrote:</font>
<br>
<br><font size=2 face="Courier New">&gt;On 9 Feb 2010, at 16:03, thipadin.seng-long@bull.net wrote:<br>
<br>
&gt;&gt; I've eventually combined my previous coding for mpich2 and openmpi wrapper on LSF as we discussed. <br>
&gt;&gt; I hope you haven't yet commit the previous sending. <br>
&gt;&gt; In the &quot;outer&quot; side we can store differents combined jobs (whatever mpich2 or openmpi) in the table. <br>
&gt;&gt; Each job is tagged in jobid{lsf_mpi} = 1 for mpich2 and 2 for openmpi. <br>
&gt;&gt; The flag is passed through inner_conf{lsf_mpi} to the inners processus so they can do differents treatments for each wrapper &nbsp;to find the processus. <br>
&gt;&gt; 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>
&gt;<br>
&gt;I've renamed the rmgr as lsf rather than lsf-mpiwr as the -mpiwr only serves to add confusion. &nbsp;If and when &gt;better LSF support comes along it can share the same rmgr setting. &nbsp;I also changed lsf_mpi to lsf_mode and gave &gt;it string values instead of int values as well as this should make the code easier to read.<br>
&gt;<br>
&gt;&gt; I've enjoyed &nbsp;meeting you. Hoping you can come often to CEA. <br>
&gt; I hope you'll commit it soon as we expect to deliver to CEA soon. <br>
&gt;<br>
&gt;Thank you very much for the patch, I'm back from Holiday now so have some time to look at this again.<br>
&gt;<br>
&gt;I've committed a variant as r388. &nbsp;I hope I haven't broken anything but can you test it please. &nbsp;I'm interested &gt;to see the output if a valid LSF job is specified but it doesn't use a wrapper of the correct style, is a &gt;correct and clear error message given in this case? &nbsp;As I said I don't have access to LSF myself so I've tried &gt;to keep any changes to a minimum.<br>
<br>
&gt;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 &amp;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">&nbsp; &nbsp; my ( $host, $cmd ) = @_;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; return slurm_cmd(&quot;ssh $host $cmd&quot;);</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>