On Mar 21, 2005, at 8:07 PM, Lefevre Jerome wrote:
Yes, with export LAMRSH='ssh -x' , all is right. I will rebuild my Lam-ifort with this flag. Many thanks for your tip.
Actually, this is a run-time flag, not a build-time flag. To have LAM use "ssh -x" by default, you can specify the configure flag "--with-rsh='ssh -x'" in the specifile when you build your RPM.
Now, if i run "qsub mpihello.pbs", $PBS_NODEFILE list only 2 nodes. node3.cluster.ird.nc node2.cluster.ird.nc
Even if i place in my PBS script the flag "N" after mpirun.
This is another configure flag in LAM -- you need to tell LAM where to find the PBS / Torque libraries so that it can interface directly with the queueing system. Specifically, when built with PBS / Torque support, the lamboot command will query PBS / Torque directly to get the list of nodes to use. Without this, lamboot will always require a hostfile to specify the list of nodes to use (e.g., $PBS_NODEFILE or any other hostfile). The configure option that you want is --with-tm=<directory>, where <directory> is the directory where PBS or Torque was installed (e.g., /opt/pbs).
So to build the LAM RPM with these options, add the following to the configure line in your specfile:
--with-rsh='ssh -x' --with-pbs=/opt/pbs
(assuming your PBS/Torque installation is in /opt/pbs)
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Oscar-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-users
