how to add  add the path to your default shell profile (e.g., .bashrc)?and here 
is my LD_LIBRARY_PATH  path  on complier export  on rocks cluster,include 
frontend and compute nodes
  
 declare -x 
LD_LIBRARY_PATH="/usr/lib:/home/hushjian/software/gdal/lib:/opt/openmpi/lib"
  
 and I also add  
LD_LIBRARY_PATH="/usr/lib:/home/hushjian/software/gdal/lib:/opt/openmpi/lib" in 
~/.bash_profile
  
 can you tell me how to set default shell profile (e.g., .bashrc)? thanks  our 
lab is studying HPC for CPU-GPU cluster 


 

 ------------------ ???????? ------------------
  ??????: "Ralph Castain";<r...@open-mpi.org>;
 ????????: 2013??12??3??(??????) ????1:39
 ??????: "Open MPI Users"<us...@open-mpi.org>; 
 
 ????: Re: [OMPI users] can you help me please ?thanks

 

 Check that your LD_LIBRARY_PATH is getting set properly on your remote node - 
it likely is missing the path to this libgdal. You might need to add the path 
to your default shell profile (e.g., .bashrc)


 

 On Mon, Dec 2, 2013 at 9:23 PM, ???? <781578...@qq.com> wrote:
 A simple program at my 4-node ROCKS cluster runs fine with command: 
/opt/openmpi/bin/mpirun -np 4 -machinefile machines ./sort_mpi6
 

Another bigger programs runs fine on the head node only with command:
 
cd ./sphere; /opt/openmpi/bin/mpirun -np 4 ../bin/sort_mpi6
 
But with the command:
 
cd /sphere; /opt/openmpi/bin/mpirun -np 4 -machinefile ../machines
../bin/sort_mpi6
 
It gives output that:
 
../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1: cannot 
open
shared object file: No such file or directory
../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1: cannot 
open
shared object file: No such file or directory
../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1: cannot 
open
shared object file: No such file or directory
  

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to