LAMMPS Installation Script
Here we provide a lammps-23Jun2022
installation script with cmake
. It contains the procedures from downloading the source code to what we mentioned in Build LAMMPS with Cmake Example
section. You will start with making an empty folder. Then, download the installation scriptinstall-lammps.sh
to this folder. Since parallel compiling with 12 cores is used in the script, you may submit an Interactive job to ask for 12 cores:
$ mkdir lammps; cd lammps; # create and change to a lammps directory
$ wget https://www.rcac.purdue.edu/files/knowledge/compile/src/install-lammps.sh
$ ls
install-lammps.sh
$ sinteractive -N 1 -n 12 -A oneofyourallocations -p shared -t 1:00:00
$ bash install-lammps.sh