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