-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRu2Cl6-benchmark.sh
executable file
·43 lines (36 loc) · 994 Bytes
/
Ru2Cl6-benchmark.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
#SBATCH --job-name=Ru2Cl6-benchmark
#SBATCH --mail-type=START,END
#SBATCH --partition=xeon56
#SBATCH --output=%x-%j.out
#SBATCH --time=6:00:00
#SBATCH --nodes=1
#SBATCH --ntasks=56
#SBATCH --cpus-per-task=1
# This is a Slurm batch job script for the Ru2Cl6-benchmark.py benchmark.
# It is assumed that a GPAW 1.4 software module can be loaded.
echo Hostname: `hostname`
echo CPU type:
lscpu
echo NUMA nodes:
numactl --hardware
module purge
echo
echo module load GPAW
# Select ONE of these modules:
# module load GPAW/22.8.0-foss-2022a
module load GPAW/22.8.0-intel-2022a
# module load GPAW
mpiexec gpaw info
module list
printenv | grep SLURM
# Run 1 thread per task
export OMP_NUM_THREADS=1
# mpiexec gpaw-python Ru2Cl6-benchmark.py
echo Running GPAW with $SLURM_NTASKS tasks.
mpiexec gpaw python Ru2Cl6-benchmark.py
# Remove data file
rm -f Ru2Cl6-benchmark.gpw
echo Extract numbers for correctness and timing
grep Free Ru2Cl6-benchmark.txt
grep Total: Ru2Cl6-benchmark.txt