...
Use the module name lammps
to discover versions available and to load the application.
Multicore
Lammps The lmp
command can be used across multiple nodes (mpi) and cores (openmp). In general you can simply use the srun
command. There is some variation on how to execute this depending on the version being usedan early version on Teton that requires mpirun
- see the table below.
General Rules
You have to request, allocate, and match the number of MPI slots for LAMMPS.
Use the three parameters:
nodes
,ntasks-per-node,
andcpus-per-task
:nodes
xntasks-per-node
defines the number of slots.cpus-per-task
defines the number of OpenMP threads.
By default, only one OpenMP thread is used. If you wish to increase this you must define and set the
OMP_NUM_THREADS
environment variable.Use:
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
Beartooth Update History
Use srun
to call the lmp
command
Module Version | LAMMPS Stable Version | Packages Enabled |
---|---|---|
20220623 | 23 Jun 2022 | ADIOS, ATC, DIFFRACTION, KSPACE, MANYBODY, MEAM, MOLECULE, REAXFF, REPLICA, RIGID and VORONOI |
...
Module Version | LAMMPS Stable VersionCall Examples | Packages Enabled | |||||
---|---|---|---|---|---|---|---|
20220623 | 23 Jun 2022 Code Block | | ADIOS, ATC, DIFFRACTION, KSPACE, MANYBODY, MEAM, MOLECULE, REAXFF, REPLICA, RIGID, and VORONOI | 20210809 | 29 Oct 2020
| ||
20210809 | 29 Oct 2020 | KSPACE, MANYBODY, MOLECULE, RIGID, REPLICA, USER-ADIOS, USER-ATC, USER-DIFFRACTION, USER-MEAMC, USER-REAXC and VORONOI | |||||
20201001 | 3 Mar 2020 Code Block | | KSPACE, MANYBODY, MOLECULE, RIGID, REPLICA, USER-ADIOS, USER-ATC, USER-MEAMC, USER-REAXC and VORONOI Note: CPM fails to build with the later version of LAMMPS. | ||||
20200324 Code Block | | CPM, KSPACE, MANYBODY, MOLECULE, RIGID, USER-ADIOS, USER-ATC, USER-MEAMC, USER-REAXC, and VORONOI | |||||
20200305 Code Block | | CPM, KSPACE, MANYBODY, MOLECULE, USER-ADIOS, USER-ATC, USER-MEAMC, USER-REAXC, and VORONOI | |||||
20200227 Code Block | | MANYBODY, MOLECULE, VORONOI, USER-ATC, USER-MEAMC, USER-REAXC, and USER-ADIOS | |||||
20190807 | MOLECULE and USER-REAXC
|
Using Version 20201001 with REPLICA Package
...
Code Block |
---|
#SBATCH --nodes=4 / #SBATCH --ntasks-per-node=1 #SBATCH --nodes=2 / #SBATCH --ntasks-per-node=2 #SBATCH --nodes=1 / #SBATCH --ntasks-per-node=4 |
...