LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-07-08 11:24:05


On Tue, 8 Jul 2003 sutovas_at_[hidden] wrote:

> From Jeff I know that the LAM comands lamboot/lamnodes/lamhalt recognize
> when jobs are run under PBS and they come up with a unique location for
> the socket. I presume that they effectively change the value of
> LAM_MPI_SOCKET_SUFFIX. Would it hurt if I also have this env variable
> defined or would LAM simply overwrite the value?

No, it will not hurt. If you set that variable, it will override the PBS
auto-detection stuff in LAM.

However, unless you can guarantee that users will never run more than one
PBS job on a node simultaneously, you should leave it dependant upon the
PBS job ID (or some other unique value) somehow. Otherwise, you can have
a "big bang" where multiple LAM universes collide. :-)

Note that the environment variable name has been deprecated in 7.0 --
although $LAM_MPI_SOCKET_SUFFIX works, we're encouraging everyone to
switch to $LAM_MPI_SESSION_SUFFIX (there's LAM_MPI_SESSION_PREFIX if you
need it, too).

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