Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Gilles Gouaillardet
Not really, you have the option of using an orte_launch_agent i described in a previous email Cheers, Gilles On Wed, Aug 23, 2017 at 2:43 AM, Jackson, Gary L. wrote: > Yup. It looks like I’m stuck with .bashrc. > > Thank you all for the suggestions. > > -- > Gary

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Reuti
Am 22.08.2017 um 02:04 schrieb Gilles Gouaillardet: > Gary, > > > one option (as mentioned in the error message) is to configure Open MPI with > --enable-orterun-prefix-by-default. > > this will force the build process to use rpath, so you do not have to set > LD_LIBRARY_PATH > > this is

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Jackson, Gary L.
Yup. It looks like I’m stuck with .bashrc. Thank you all for the suggestions. -- Gary Jackson, Ph.D. Johns Hopkins University Applied Physics Laboratory On 8/22/17, 1:07 PM, "users on behalf of r...@open-mpi.org" wrote:

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread r...@open-mpi.org
I’m afraid not - that only applies the variable to the application, not the daemons. Truly, your only real option is to put something in your .bashrc since you cannot modify the configure. Or, if you are running in a managed environment, you can ask to have your resource manager forward your

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Bennet Fauber
Would $ mpirun -x LD_LIBRARY_PATH ... work here? I think from the man page for mpirun that should request that it would would export the currently set value of LD_LIBRARY_PATH to the remote nodes prior to executing the command there. -- bennet On Tue, Aug 22, 2017 at 11:55 AM, Jackson,

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Jackson, Gary L.
I’m using a build of OpenMPI provided by a third party. -- Gary Jackson, Ph.D. Johns Hopkins University Applied Physics Laboratory On 8/21/17, 8:04 PM, "users on behalf of Gilles Gouaillardet" wrote: Gary, one

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread Gilles Gouaillardet
John, Modules (both legacy and LMod) are great but might not be relevant here : my understanding is that in this case, "module load openmpi" would be required in the .bashrc, and this is something that should be avoided. Cheers, Gilles On Tue, Aug 22, 2017 at 4:50 PM, John Hearns via users

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-22 Thread John Hearns via users
Gary, are you using Modules? http://www.admin-magazine.com/HPC/Articles/Environment-Modules On 22 August 2017 at 02:04, Gilles Gouaillardet wrote: > Gary, > > > one option (as mentioned in the error message) is to configure Open MPI > with --enable-orterun-prefix-by-default.

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-21 Thread Gilles Gouaillardet
Gary, one option (as mentioned in the error message) is to configure Open MPI with --enable-orterun-prefix-by-default. this will force the build process to use rpath, so you do not have to set LD_LIBRARY_PATH this is the easiest option, but cannot be used if you plan to relocate the Open

Re: [OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-21 Thread Reuti
Hi, > Am 21.08.2017 um 18:06 schrieb Jackson, Gary L. : > > > I’m using a binary distribution of OpenMPI 1.10.2. As linked, it requires > certain shared libraries outside of OpenMPI for orted itself to start. So, > passing in LD_LIBRARY_PATH with the “-x” flag to

[OMPI users] Setting LD_LIBRARY_PATH for orted

2017-08-21 Thread Jackson, Gary L.
I’m using a binary distribution of OpenMPI 1.10.2. As linked, it requires certain shared libraries outside of OpenMPI for orted itself to start. So, passing in LD_LIBRARY_PATH with the “-x” flag to mpirun doesn’t do anything: $ mpirun –hostfile ${HOSTFILE} -N 1 -n 2 -x LD_LIBRARY_PATH hostname