Mox uses a scheduler called slurm. It is similar to but different from the PBS based scheduler used on hyak classic.
Below xyz is your hyak group name and abc is your UW netid.
To logon:
ssh abc@mox.hyak.uw.edu
To see the various partitions (aka allocations):
sinfo
To get an interactive build node:
srun -p build --pty /bin/bash
To get an interactive node in your own group.
srun -p xyz --pty /bin/bash
To submit a batch job:
sbatch -p xyz -A xyz myscript.slurm
The script myscript.slurm is similar to myscript.pbs used in hyak classic. Below is an example slurm script.
#!/bin/bash
## Job Name
#SBATCH --job-name=myjob
## Resources
## Nodes
#SBATCH --nodes=1
## Walltime (3 hours)
#SBATCH --time=3:00:00
## Memory per node
#SBATCH --mem=30G
## Specify the working directory for this job
#SBATCH --workdir=/gscratch/xyz/abc/myjobdir
More details are here: