0% found this document useful (0 votes)
29 views1 page

HPC Cheat Sheet

Uploaded by

lolipow667
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

HPC Cheat Sheet

Uploaded by

lolipow667
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Example Submit Script Common Commands

Connect to the HPC


#!/bin/bash
#SBATCH --job-name='my-job' Job Name ssh <your_FSUID>@hpc-login.rcc.fsu.edu
#SBATCH --ntasks=4 Number of tasks Check Storage Quota
#SBATCH -t 2-10:30:00 Maximum job execution time
#SBATCH -p genacc_q Partition to submit job to $ gpfs_quota
#SBATCH --mem-per-cpu=7.8G Memory per CPU Display My Running/Pending Jobs
#SBATCH -o job_output.txt (optional)specify output name
#SBATCH -e job_errors.log (optional)specify error output $ squeue -u $(whoami)
#SBATCH --nodes=2 # of physical nodes to allocate Display My Partitions (Login Required)
#SBATCH -C ʺYEAR2012,intelʺ Specific feature of node for job
$ rcctool my:partitions
module load intel Load kernel modules
Display Node Information in a Partition
srun my_program.sh < input.txt run program (use srun not MPI)
Try our Submit Script Generator for more options: https://rcc.fsu.edu/ssg $ sinfo -p <partition_name>
Estimated Job Start Time
Submitting Jobs Job States
$ squeue -start -j <job_id>
Submit a Job to the Slurm Scheduler Display Available Slurm Node Features
PD Pending
$ sbatch MY_SCRIPT.sh $ sinfo -o %f
Submitted batch job 1234567 CF Configuring
Check Specific Job Status R Running General Access Partitions
$ squeue -j 1234567
Check All Job Statuses CG Completing
Name Max Job Length Purpose
$ squeue --me
PR Preempted
Cancel Job
genacc_q 2 weeks General Access
$ scancel 1234567 S Suspended
View Job Status While Running condor 90 days Long Jobs / No MPI
$ sstat -j 1234567 TO Timeout

F Failed backfill 4 hours Short Jobs

NF Node Failed backfill2 4 hours Pre-emption Enabled

CA Cancelled quicktest 10 min For Testing


https://rcc.fsu.edu [email protected]
Revised 04-22

You might also like