The latest verion of the download can be downloaded using the wget command
wget http://lammps.sandia.gov/tars/lammps-stable.tar.gz
or download from the LAMMPS website from Sandia. This downloads a GNU zipped tarball. If you have setup your computer as I recommended in 1.2, then we will create a unique place to store the source code and related materials.
$ mkdir ~/usr/local/lammps
$ mv lammps-stable.tar.gz ~/usr/local/lammps/
$ cd ~/usr/local/lammps
$ gunzip lammps-stable.tar.gz
$ tar -xvf lammps-stable.tar
[1/30/2020] - Currently working out directions.
For the purposes of maintaining a consistent compile chain, the following setup for spitzer appears to work
module load intel/19.0.5
module load intelmpi/2019.3
cd ~/usr/local/lammps/lammps-7Aug19/src
# make a directory for lammps binaries
mkdir ~/usr/local/lammps/lammps-7Aug19/bin
# add meam support
make yes-meamc
# add reaxff support
make yes-user-reaxc
# make the serial version, for fitting potentials using pypospack
make serial
# make the mpi version, for running parallelized LAMMPS
make mpi
# copy the versions to a bin directory
mv lmp_serial ../bin/lmp_serial
mv lmp_mpi ../bin/lmp_mpi
Add the following lines to your profile
export LAMMPS_SERIAL_BIN=$HOME/usr/local/lammps/lammps-7Aug19/bin/lmp_serial
export LAMMPS_MPI_BIN=$HOME/usr/local/lammps/lammps/lammps-7Aug19/bin/lmp_mpi