Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Column
width900px


Code Block
languagebash
themeEmacs
titleListing 1. Example job script for running LAMMPS
linenumberstrue
#!/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
 
# Load the lammps module so we can find the "lmp_mpi"
# executable
  
module load lammps/20210929.3
  
# Launch with srun (essential) using 24128 MPI tasks ("-n 24128")
  
srun --export=all -n 128 lmp -in lammps.inp -log lammps.log


...