Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] intel compiler linking issue and issue of environment variable on remote node, with open mpi 1.4.3
From: yanyg_at_[hidden]
Date: 2011-04-22 15:42:57


Open MPI 1.4.3 + Intel Compilers V8.1 summary:
(in case someone likes to refer to it later)

(1) To make all Open MPI executables statically linked and
independent of any dynamic libraries,
"--disable-shared" and "--enable-static" options should BOTH be
fowarded to configure, and "-i-static"
option should be specified for intel compilers too.

(2) It is confirmed that environment variables could be forwarded to
slave nodes, such as $PATH
and $LD_LIBARY_PATH, by specifying options to mpirun.
However, mpirun will invoke orted daemon on
master and slave nodes. These environment variables passed to
slave nodes via mpirun options does not
take into effect before orted started. So if orted daemon needs
these environment variables to run,
the only way is to set these environment variables in a shared
.bashrc or .profile file, visible to
both master and slave nodes, say, on a shared NFS partition. It
seems no other way to resolve this kind
of dependence.

Regards,
Yiguang