Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-12 Thread jody
Just to be sure: Is there a copy of the shared library on the other host (hpcnode1) ? jody On Mon, May 10, 2010 at 5:20 PM, Prentice Bisbal wrote: > Are you runing thee jobs through a queuing system like PBS, Torque, or SGE? > > Prentice > > Miguel Ángel Vázquez wrote: >> Hello Prentice, >> >>

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Prentice Bisbal
Are you runing thee jobs through a queuing system like PBS, Torque, or SGE? Prentice Miguel Ángel Vázquez wrote: > Hello Prentice, > > Thank you for your advice but that doesn't solve the problem. > > The non-login bash updates properly the $LD_LIBRARY_PATH value. > > Any other idea? > > Than

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Miguel Ángel Vázquez
Ok, thank you, I'll contact my sysadmin. 2010/5/10 Ralph Castain > Doesn't that indicate precisely what Prentice said? ssh isn't picking up > your remote .bashrc file and executing it. > > Try just doing "mpirun -n 1 -H hpcnode1 printenv" and see if you get the > envars you expect from you .bash

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Ralph Castain
Doesn't that indicate precisely what Prentice said? ssh isn't picking up your remote .bashrc file and executing it. Try just doing "mpirun -n 1 -H hpcnode1 printenv" and see if you get the envars you expect from you .bashrc. If not, talk to your sysadmin about how to fix the problem - could be

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Miguel Ángel Vázquez
Version: OMPI 1.3.3 Shell: bash I already fixed the problem with a shell script like #!/bin/sh export LD_LIBRARY_PATH= ... ./montecarlo But, it seems that openmpi look neither bash_profile not .bashrc. Thank you, Miguel 2010/5/10 Ralph Castain > What version of OMPI? What shell? > > On May

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Ralph Castain
What version of OMPI? What shell? On May 10, 2010, at 2:05 AM, Miguel Ángel Vázquez wrote: > Hello Prentice, > > Thank you for your advice but that doesn't solve the problem. > > The non-login bash updates properly the $LD_LIBRARY_PATH value. > > Any other idea? > > Thanks, > > Miguel > > 2

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-10 Thread Miguel Ángel Vázquez
Hello Prentice, Thank you for your advice but that doesn't solve the problem. The non-login bash updates properly the $LD_LIBRARY_PATH value. Any other idea? Thanks, Miguel 2010/5/7 Prentice Bisbal > > > Miguel Ángel Vázquez wrote: > > Dear all, > > > > I am trying to run a C++ program whic

Re: [OMPI users] Dynamic libraries in OpenMPI

2010-05-07 Thread Prentice Bisbal
Miguel Ángel Vázquez wrote: > Dear all, > > I am trying to run a C++ program which uses dynamic libraries under mpi. > > The compilation command looks like: > > mpiCC `pkg-config --cflags itpp` -o montecarlo montecarlo.cpp > `pkg-config --libs itpp` > > And it works if I executed it in one

[OMPI users] Dynamic libraries in OpenMPI

2010-05-07 Thread Miguel Ángel Vázquez
Dear all, I am trying to run a C++ program which uses dynamic libraries under mpi. The compilation command looks like: mpiCC `pkg-config --cflags itpp` -o montecarlo montecarlo.cpp `pkg-config --libs itpp` And it works if I executed it in one machine: mpirun -np 2 -H localhost montecarlo I