-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.slurm
More file actions
26 lines (21 loc) · 775 Bytes
/
Copy pathexample.slurm
File metadata and controls
26 lines (21 loc) · 775 Bytes
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
#!/bin/bash
# Slurm job options (job-name, compute nodes, job time)
#SBATCH --job-name=MITgcm-simulation
#SBATCH --time=1:0:0
#SBATCH --nodes=1
#SBATCH --tasks-per-node=2
#SBATCH --cpus-per-task=1
# Replace [budget code] below with your project code (e.g. t01)
#SBATCH --account=n02
#SBATCH --partition=standard
#SBATCH --qos=standard
# Setup the job environment (this module needs to be loaded before any other modules)
module load epcc-job-env
# Set the number of threads to 1
# This prevents any threaded system libraries from automatically
# using threading.
export OMP_NUM_THREADS=1
# Launch the parallel job
# Using 256 MPI processes and 128 MPI processes per node
# srun picks up the distribution from the sbatch options
srun --cpu-bind=cores ./mitgcmuv