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 >