Gus Correa wrote:
Hi Craig, George, list

Here is a quick and dirty solution I used before for a similar problem.
Link the Intel libraries statically,  using the "-static-intel" flag.
Other shared libraries continue to be dynamically linked.

For instance:

mipf90 -static-intel my_mpi_program.f90

What is not clear to me is why to use orted instead of mpirun/mpiexec/orterun,
which has a mechanism to pass environment variables to the hosts
with "-x LD_LIBRARY_PATH=/my/intel/lib".

I hope this helps.
Gus Correa


I am not calling orted directly.  I am using mpirun.  Mpirun launches
orted to each node.  Orted will pass the LD_LIBRARY_PATH to the specified
application.  Mpirun does not pass LD_LIBRARY_PATH to Orted, so it doesn't
launch.

Craig

--
Craig Tierney (craig.tier...@noaa.gov)

Reply via email to