Skip to content

Model Runs on UW Hyak

Christina Bandaragoda edited this page Mar 1, 2019 · 8 revisions

University of Washington students and employees can request a login; this project is hosted by the Coastal group and NSF PREEVENTS project. With a Hyak login, users can interact with the job scheduler and transferdata to and from Hyak. Compute work should be done by requesting an interactive session on (or submitting batch jobs to) compute nodes.

Visit the Hyak user wiki for more details: http://wiki.hyak.uw.edu/Hyak+mox+Overview

Questions? E-mail [email protected] with "hyak" in the subject.

Helpful resources: Run "scontrol show res" to see any reservations in place that will prevent your jobs from running with a "(ReqNodeNotAvail,*" error.

Useful code bits:

Edit file for submitting job

nano submitDHSVM.slurm

Submit job

sbatch submitDHSVM.slurm

Check jobs in group

squeue -p coastal

Check jobs for user (e.g. cband)

squeue -u cband

Cancel jobs (e.g job ID)

scancel 651908

Sample slurm single model run job submit file

#!/bin/bash

job name

#SBATCH --job-name=DHSVMskagit_run20190227

#SBATCH --mail-user=[email protected] # email address

#SBATCH --mail-type=BEGIN

#SBATCH --mail-type=END

#SBATCH --mail-type=FAIL

#SBATCH --account=coastal

#SBATCH --partition=coastal

Resources

Nodes

#SBATCH --nodes=1

Tasks per node (Slurm assumes you want to run 28 tasks per node unless explicitly $

#SBATCH --ntasks-per-node=26

Walltime (hh:mm:ss)

#SBATCH --time=300:00:00

Memory per node

#SBATCH --mem=100G

Specify the working directory for this job

#SBATCH --workdir=/gscratch/coastal/cband/skagit/Skagit/

Modules needed to run

/gscratch/coastal/cband/skagit/Skagit/DHSVM3.1.3 /gscratch/coastal/cband/skagit/Skagit/INPUT.skagitSCLlandslide.historic1960.bclivlow.G > log_INPUT_SCLhist '