On Fri, 22 Apr 2011 07:53:53 -0700, Michael Di Domenico <[email protected]> wrote: > In order to support openmpi-1.5.3 with PSM using slurm, i have to > export a variable to each rank in the pool, it generates a random key, > but all tasks must have the same key. I was thinking of running as > part of the job prolog, but i can't figure out how to get the > environment variable exported. > > You can see the below message, for openmpi support > > http://www.open-mpi.org/community/lists/users/2010/12/15242.php > > I see there is a spank plugin, called getenv, but we're not running > any spank plugins at the moment, is there another way to do this? >
Will this work? eval `psm_keygen` srun [args]... Or do you want something that works by configuration and not by changing the command line? mark
