Skip to content

Cannon cluster etiquette

Bob Yantosca edited this page Nov 6, 2025 · 7 revisions

Be mindful when submitting jobs

Recall that the seas_compute and seas_gpu partitions have no time or memory limits. This can be a both blessing and a curse at the same time. While it is possible to submit many long simulations to these queues, we discourage this in practice. When possible, we recommend splitting up simulations into shorter periods to allow other users' jobs to get picked up. In addition, we ask that you be mindful when submitting a large number of jobs to the queue, as you may end up blocking other group members' jobs from running. You can always use job dependencies or job arrays to submit jobs in stages. Our rule of thumb is that if you need to use a large amount of computational resources to please alert the group by sending a quick message to the #fasrc-cluster channel of the Harvard-ACMG Slack Workspace.

Also note that the group is allocated 50 TB in /n/netscratch/jacob_lab/Lab/, so please be aware of the disk space you are using and remove or archive files as soon as possible.

Some useful aliases for checking the available nodes and CPUs on the SEAS partitions and disk space can be found in our sample .bashrc file:

# List all jobs running by user (e.g. "sq -u $USER") or
# partition (e.g. "sq -p seas_compute")
alias sq="squeue --format='%.10i %.10P %.10j %.10u %.10a %.2t %.10M %.6D %.6C %R'"
alias squ="sq -u $USER"

# View information about Slurm nodes and partitions
alias si="sinfo format='%.11P %.20N %.11T %.6D %.4c %C'"

# List number of nodes and CPUs in a given partition
# (A=available, I=idle, O=other, T=total)
alias shinfo="sinfo --format='%.11P %.20N %.11T %.6D %.4c %C' -p shared"
alias tinfo="sinfo --format='%.11P %.20N %.11T %.6D %.4c %C' -p test"
alias scinfo="sinfo --format='%.11P %.20N %.11T %.6D %.4c %C' -p seas_compute"
alias sginfo="sinfo --format='%.11P %.20N %.11T %.6D %.4c %C' -p seas_gpu"

# Check my fairshare score
alias myfs="sshare -u $USER -U"

# Check Jacob group fairshare score
alias jacobfs="sshare -A jacob_lab -a"

More information

Please see the FASRC Cluster Customs and Responsibilities Guide for more best practices for using Cannon.

Clone this wiki locally