Hello,

Traditionally, a parallel application is run like following
>>> export FOO=foo
>>> mpirun -np 2 -machinefile mymachinefile my_parallel_app [app options] 

(To be known by all the nodes of my cluster, the environment variable FOO has to be set on all the nodes or exported on the nodes by mpirun.)
Few months ago, I used MVAPICH on a cluster of Opteron: this MPI distribution allows me to launch shell scripts with the mpirun script like following :
myscript.sh
|
| #!/bin/bash
| export FOO=foo
| my_parallel_app [app options]
|
end

>>> mpirun -np 2 myscript.sh

 (In that case, the environment variable FOO is exported on all the nodes)
I heard all the distributions do not  support this feature. Indeed, I use currently MPICH-1.2.5.2 which  does not permit me to do it.Nevertheless, it should be standardized in the distributions based on the MPI-2 standard. So, can someone confirm it and/or send me a link to the page of the standard which says it?

Thanks a lot,
Mathieu.


_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to