On Thu, 9 Jan 2003, Jeremy Enos wrote:

> Yes.. it starts new shells on each machine, and doesn't necessarily take
> all the env vars with it.  I suggest setting them in your script which
> you feed to qsub, although that is also only run on a single compute
> node.  If you want environment propagated to every node in your job, it
> gets worse- you have to make a script which is called by your parallel
> launcher (pbsdsh, mpirun, or whatever you choose), which is called by
> your qsub target script, which is called by qsub.  Hope you followed
> that- it's ugly, but the reality.

FYI: LAM/MPI can distribute environment variables with the -x option to
mpirun.  For example:

         mpirun -x CLASSPATH -np 4 my_program

-- 
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to