On Mon, 28 Jun 2004, Pushkar Pradhan wrote:
> Well I did put echo $LD_LIBRARY_PATH before export $LD_LIBRARY_PATH and
> after $LD_LIBRARY_PATH. When I start a new shell it does print out the
> paths but not in the output or error files produced by PBS. This is
> where you want to see the paths being printed out right? Then I put the
> echo $LD_LIBRARY_PATH in the pbs script and then it prints out in the
> output.
I missed in your first mail that you listed $PBS_NODEFILE. Are you using
the tm SSI boot module? You can run the "laminfo" command to see if the
"tm" boot module shows up.
If so, then rsh/ssh is not used -- the native tm PBS interface is used.
In this case, the environment of your script is exported to all nodes in
the job. Hence, you can export LD_LIBRARY_PATH in your script (before you
lamboot), and MPI executables should then be able to find it when you
mpirun.
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|