Bugzilla – Bug 4778
WS-Fork job manager doesn't set environment up for mpi jobs
Last modified: 2012-09-05 11:43:24
You need to
before you can comment on or make changes to this bug.
The PBS job manager, when running mpi jobs, constructs a script for the
executable that contains the relevant environment variables, and then runs that
script with mpirun (or mpiexec). The Fork job manager evidently does not
construct such a script, and just runs the executable with mpirun.
This was reported by Brian Toonen, but he doesn't like entering bugs in
The fix here may just be as simple as cutting and pasting some code from PBS.pm
As a note, it is clear that mpich-gm's mpirun doesn't pass through env
variables by default, but with --gm-copy-env, it will.
So for Brian's purposes right now (running the test suite for MPIG), we've got
mpirun set up with --gm-copy-env for fork. Thus, urgency on this is not really
It sounds like this is not necessarily a fork job manager issue but relates to
how mpi is deployed. If you have suggestions for reliably detecting that this
option is needed, we can add them to the setup scripts. Otherwise, it might be
best to just document this issue in the release notes.
We should make sure the doc is clear about
1) what the Fork environment is
2) How MPI is run and any known issues like the mpich-gm env copy issue in this
Doing some bugzilla cleanup... Resolving old GRAM3 and GRAM4 issues that are
no longer relevant since we've moved on to GRAM5. Also, we're now tracking
issue in jira. Any new issues should be added here: