You could get the supported version of LAMMPS from GitHub repository
Follow LAMMPS installation instructions
- Go to
lammps/srcfolder - Compile the ML-PACE library by running
make lib-pace args="-b" - Include
ML-PACEin the compilation by runningmake yes-ml-pace - Compile lammps as usual, i.e.
make serialormake mpi.
- Create build directory and go there with
cd lammps
mkdir build
cd build
- Configure the lammps build with
cmake -DCMAKE_BUILD_TYPE=Release -DPKG_ML-PACE=ON ../cmake
or
cmake -DCMAKE_BUILD_TYPE=Release -D BUILD_MPI=ON -DPKG_ML-PACE=ON ../cmake
For more information see here.
- Build LAMMPS using
cmake --build .ormake