-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathruncase
46 lines (31 loc) · 987 Bytes
/
runcase
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
44
45
#!/bin/bash
# example MPI job script for SLURM
# set max wallclock time
#SBATCH --time=48:00:00
#Job name
#SBATCH --job-name=1D_H2_p07
#Job queue
#SBATCH --partition=defq
####SBATCH --partition=bigmem
####SBATCH --mem=128G
##SBATCH --exclusive
#Cost code
#SBATCH -A nccstrfm
# SLURM defaults to the directory you were working in when you submitted the job.
# Output files are also put in this directory. To set a different working directory add:
##SBATCH --workdir=/nobackup/my_directory
# Tell SLURM if you want to be emailed when your job starts, ends, etc.
# Currently mail can only be sent to addresses @ncl.ac.uk
#SBATCH --mail-type=ALL
#SBATCH [email protected]
#number of cores used
#SBATCH --nodes=1
#SBATCH --ntasks=40
#unset I_MPI_PMI_LIBRARY
#set SLURM_MPI_TYPE=pmi2
# use Intel programming tools
#module load intel
#
# SLURM recommend using srun instead of mpirun for better job control.
#mpirun -np 480 ./senga
srun -n 40 --mpi=pmi2 ./senga2