I have installed LAMMPS 02Aug 2023 version and now from the bench directory I am running the test cases. I loaded the environmental modules and the path where lmp_nompi is oocated, but it ended up with following:
/apps/lammps-2Aug2023/02082023/bench$ mpirun -np 4 /apps/lammps-2Aug2023/02082023/bin/lmp_mpi -in in.rhodo
/apps/lammps-2Aug2023/02082023/bin/lmp_mpi: error while loading shared libraries: liblammps_mpi.so.0: cannot open shared object file: No such file or directory
/apps/lammps-2Aug2023/02082023/bin/lmp_mpi: error while loading shared libraries: liblammps_mpi.so.0: cannot open shared object file: No such file or directory
/apps/lammps-2Aug2023/02082023/bin/lmp_mpi: error while loading shared libraries: liblammps_mpi.so.0: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
/apps/lammps-2Aug2023/02082023/bin/lmp_mpi: error while loading shared libraries: liblammps_mpi.so.0: cannot open shared object file: No such file or directory
However, I checked, liblammps_mpi.so.0 is located inside /apps/lammps-2Aug2023/02082023/lib folder.
Then why is it unable to detect?
Please suggest.
thanks