Skip to content

Commit f5982f2

Browse files
authored
add EESSI example to the example scripts
1 parent b286c1e commit f5982f2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
# EESSI_demo.sh script
3+
#PBS -N "EESSI_Demo_LAMMPS_lj"
4+
#PBS -l nodes=1:ppn=4
5+
#PBS -o EESSI_demo.out
6+
#PBS -e EESSI_demo.err
7+
#PBS -l walltime=00:30:00
8+
9+
module --force purge
10+
export OMPI_MCA_orte_keep_fqdn_hostnames=1
11+
unset SLURM_EXPORT_ENV
12+
13+
source /cvmfs/software.eessi.io/versions/2023.06/init/bash
14+
module load LAMMPS/29Aug2024-foss-2023b-kokkos
15+
mkdir /tmp/$USER && cd /tmp/$USER
16+
curl -o in.lj https://raw.githubusercontent.com/lammps/lammps/refs/heads/develop/bench/in.lj
17+
export OMP_NUM_THREADS=1
18+
mpirun -np 4 lmp -in in.lj
19+
rm -r /tmp/$USER

0 commit comments

Comments
 (0)