Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions job_script_NERSC
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
## On Haswell, make sure you set --cpus-per-task=64/tasks_per_node, or equivalently
## --cpus-per-task=64*nodes/tasks. On KNL, change 64 for 272.

#SBATCH --licenses=SCRATCH
#SBATCH --job-name=CosmoMC
#SBATCH --output=test.log
#SBATCH --qos=debug
#SBATCH --time=5
#SBATCH --nodes=2
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=32
#SBATCH --constraint=haswell

## Uncomment this to get job updates via email
##SBATCH --mail-type=ALL

export OMP_PROC_BIND=true
export OMP_PLACES=threads
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK

srun cosmomc test.ini