[lammps-users] lammps installation help/ GLIBCXX_3.4.20' not found

Dear users,

I am trying to install lammps in my local account available on the supercomputer.
The installation procedure is described below:

  1. download lammps-stable_29Oct2020.tar.gz
  2. extract
  3. make a folder named build
    4.cmake -C …/cmake/presets/minimal.cmake -D LAMMPS_MACHINE=“mpi” -D CMAKE_CXX_COMPILER="/usr/local/gcc8.1_centos7/bin/g++" -D MPI_CXX_COMPILER="/usr/local/openmpi-4.0.3_centos7/bin/mpicc" -D BUILD_MPI=“yes” -D CMAKE_LIBRARY_PATH="/usr/lib64" -D BUILD_LIB=“yes” -D BUILD_EXE=“yes” BUILD_SHARED_LIBS=“on” …/cmake

You have to ask your user support for this. This is a local issue and not a LAMMPS issue.
Most likely you are not loading environment modules as you should.
Axel.

I sorted out the problem by exporting the LD_LIBRARY_PATH in the pbs script.

Thank you,