Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Passing LD_LIBRARY_PATH to orted
From: Craig Tierney (Craig.Tierney_at_[hidden])
Date: 2008-10-14 12:05:47


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.tierney_at_[hidden])