---
tags: Kickstart
---
# Real-life examples
## pi example
(a bit too basic)
## array job example
## lammps
https://zqex.dk/index.php/method/lammps-demo
mkdir in $WRKDIR
cd
wget gas.lam (wget doesn't work, have to copy and paste)
wget --user-agent="Mozilla Firefox" http://files.zqex.dk/lammpsdemo/gas/gas.lam
module load LAMMPS
mpirun lmp_mpi -in gas.lam
comment out the IMG and video stuff # sometimes we have to modify for cluster
mpirun again
mpirun -n 10
increase particies by 100 and dimension by 10×10
slurm script -n 20
slurm watch queue
slurm history
seff
increase time × 10
retry
multiple nodes with -N