<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello, <br>
<br>
Traditionally, a parallel application is run like following<br>
<pre>>>> export FOO=foo</pre>
<pre>>>> mpirun -np 2 -machinefile mymachinefile my_parallel_app [app options] </pre>
<br>
(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.)<br>
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 :<br>
<pre><u>myscript.sh
</u>|<u>
</u>| #!/bin/bash
| export FOO=foo
| my_parallel_app [app options]
|
<u>end</u>
>>> mpirun -np 2 myscript.sh
</pre>
(In that case, the environment variable FOO is exported on all the
nodes)<br>
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?<br>
<br>
Thanks a lot,<br>
Mathieu.<br>
<br>
<br>
</body>
</html>