...
Current available versions of LAMMPS on Setonix
To check the current installed versions of LAMMPS installed in Pawsey software stack, use the module avail
command:
Column |
---|
|
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | Listing 1. Checking available installations |
---|
linenumbers | true |
---|
| $ module avail lammps
------------------------- /software/setonix/2024.05/modules/zen3/gcc/12.2.0/applications --------------------------
lammps-amd-gfx90a/20230802 lammps-amd-gfx90a/20230802.3 (D) lammps/20230802 lammps/20230802.3 (D) |
|
Example: Running LAMMPS on Setonix
...
Column |
---|
|
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | Listing 1. Example job script for running LAMMPS |
---|
linenumbers | true |
---|
| #!/bin/bash --login
# Replace "[your-project]" with the appropriate project code
# Maximum wall-clock time limit 24 hours (--time=24:00:00)
#SBATCH --job-name=lammps
#SBATCH --nodes=1
#SBATCH --exclusive
#SBATCH --account=[your-project]
#SBATCH --time=24:00:00
#SBATCH --cpus-per-task=1
# Load the lammps module so we can find the "lmp_mpi"
# executable
module load lammps/20210929.3<version>
# Launch with srun (essential) using 128 MPI tasks ("-n 128")
srun --export=all -N 1 -n 128 -c 1 lmp -in lammps.inp -log lammps.log
|
|
...