Project

General

Profile

ARCHER2 » submit_run.sh

Ross Herbert, 09/07/2021 09:18 PM

 
1
#!/bin/bash
2

    
3
# Slurm job options (job-name, compute nodes, job time)
4
#SBATCH --job-name=name_of_job_on_slurm
5
#SBATCH --time=0:06:0
6
#SBATCH --nodes=2
7
#SBATCH --tasks-per-node=128
8
#SBATCH --cpus-per-task=1
9
#SBATCH --account=n02-RECAP
10
#SBATCH --partition=standard
11
#SBATCH --qos=short
12
#SBATCH --mem=0
13
#SBATCH --reservation=shortqos
14

    
15
export icon_dir=/work/n02/n02/rherbe/ICON/icon-hammoz/icon
16

    
17
module load cray-netcdf
18
module load cray-hdf5
19
module unload craype-network-ofi
20
module unload cray-mpich
21
module load craype-network-ucx
22
module load cray-mpich-ucx
23
module load libfabric
24
module load cpe/21.03
25
module load atp
26

    
27
export ATP_ENABLED=1
28

    
29
export LD_LIBRARY_PATH=$CRAY_LD_LIBRARY_PATH:$LD_LIBRARY_PATH
30

    
31
cd $icon_dir/run
32
./exp.ICON-HAM_archer2_example.run
(5-5/5)