Child pages
  • Hyak mox Overview
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Important Changes Compared to ikt

  1. You only get what you ask for, regardless of the resources available on the node. If you ask for 1 CPU, you'll only get one. If you ask for 1GB of RAM, you'll only get 1GB.

Show Queue

All Jobs
squeue
Jobs in Allocation
squeue -p <my short group>
All Jobs in ckpt
squeue -p ckpt
Jobs in ckpt from Allocation
squeue -A <my short group>-ckpt

Submit standard job

sbatch -p <my short group> -A <my short group> test-job.sh

Submit ckpt (bf) queue job

sbatch -p ckpt -A <my short group>-ckpt test-job.sh

Interactive node

The default is 1 core, 1GB RAM, and 4 hours of walltime (max 8h).

srun -p build --pty /bin/bash

See nodes per group

sacctmgr show qos format=name,grptres

Show Job Info

scontrol show job <jobid>

Show Node Info

scontrol show node <node>

Sample Job Script

#!/bin/bash
## RENAME FOR YOUR JOB
#SBATCH --job-name=test-job
## Resources
## Nodes
#SBATCH -N 5
## Walltime (ten minutes)
#SBATCH -t 10:00
## Memory

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

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

  • No labels