Child pages
  • Hyak mox Overview

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

#!/bin/bash
## Job Name
#SBATCH --job-name=test-job
## Allocation Definition
#SBATCH --account=MYSHORTGROUP
#SBATCH --partition=MYSHORTGROUP
## Resources

## Nodes
#SBATCH --nodes=2      
## Tasks per node (Slurm assumes you want to run 28 tasks per node unless explicitly told otherwise, remove 2x # and adjust parameter if needed)
###SBATCH --ntasks-per-node=28
## Walltime (ten minutes)

#SBATCH --time=10:00
# E-mail Notification, see man sbatch for options
#SBATCH --mail-type=NONE
## Memory per node

#SBATCH --mem=2G
## Specify the working directory for this job
#SBATCH --workdir=/gscratch/MYGROUP/MYUSER/MYRUN

module load icc_<version>-impi_<VERSION>
mpirun /gscratch/MYGROUP/MYMODEL/MYMODEL-BIN

...