Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Observation for OPAL_PREFIX usage in product deployment.
From: Roger Martin (roger_at_[hidden])
Date: 2010-09-01 07:49:04


  Hi all,

In looking through documentation and searching I didn't come across this
anywhere. If it is common knowledge then skip this email:-)

If you set OPAL_PREFIX to something other than your build install, then
it also needs to be passed through the mpirun's -x flag:

mpirun -x OPAL_PREFIX -x QBHOME -x PATH -x LD_LIBRARY_PATH -x
MKL_NUM_THREADS -x MKL_DYNAMIC -machinefile $PBS_NODEFILE
$EXAMPLE_PATH/bin/connectivity_c.bin $@ -

The higher ranked processes and especially one's on other machines will
get their OPAL paths correctly to the help files and will run without
hanging if the build install isn't available. When you send your
compiled application installation to a user on another network, it
should also work correctly for them too.