|
|
| [Science] [BAS home] [Met home] [Beowulf home] | Antarctic Meteorology |
Andy Heaps and I solved this independantly. His version (available where?) makes PE0 send the env variables to the other processors. My version makes all the processors read their env from a file. This file has to be created first, and in an irritating wrinkle, the rsh'd jobs don't even start up in the same directory so the file needs a global name.
So my solution is to compile the job, then run (STEP=4) it. This puts all the appropriate control files in all the right places (mostly in tmp), but the run crashes because the env variables file is missing. So, once its crashed, you need to:
make-test-env.pl *parexe* > ~/test-env-RUNID
using whatever name you used in editing wsetenv.f. If you're only doing one run at once, you can just leave wsetenv.f unedited and skip the recompile steps.
mpirun -np n -machinefile mf -nolocal RUNID.exe 1>one 2>two </dev/null &Note that this has the slight advantage that *you* can run it by hand instead of from within a script.
And there we are. Did you use it? Did it work for you? Yes/No, let me know... wmc@bas.ac.uk
| Past last modified: 16/4/2002 / wmc@bas.ac.uk |
© Copyright Natural Environment Research Council - British Antarctic Survey 2001 |