SciNet Command Line Utilities

From SciNet Users Documentation
Revision as of 18:22, 25 November 2026 by Ejspence (talk | contribs) (→Jobs & Queues)
Jump to navigation Jump to search

Below is list of handy command-line utilities written by SciNet to help manage your data and compute.

Note that in the table, optional arguments are denoted with square brackets (i.e. '[]'), while mandatory arguments are denoted with angular brackets (i.e. '<>').

Storage

Command Arguments Description Cluster
quota Short overview of a user's storage usage. Trillium
diskUsage -h to see all command options Informs about the user and group file system usage. Trillium
topUserDirOver1000list Lists your directories that have over 1,000 files Trillium
topUserDirOver1GBlist Lists your directories that have over 1 GB of data Trillium

Jobs & Queues

Command Arguments Description Cluster
qsum most squeue arguments work Lists jobs running or in the queue, grouped by user. Trillium
scinet-priority Compute usage in the last 7 days, and how this affects your priority in the queue. Trillium
nodeperf [userName] Who is doing what on the current node? Trillium
jobperf <jobId | jobName> Informs about the performance of all nodes of a given job. Trillium
debugjob [number of nodes] [-g number of GPUs] Starts an interactive session on up to 4 whole nodes. The argument is a positive number of nodes, not cores: on the CPU subcluster each node is 192 cores, so debugjob 2 means 384 cores. On the GPU subcluster use -g: debugjob -g 1 is a quarter node, debugjob -g 4 a whole 96-core node, and the maximum is 8 GPUs on 2 nodes. The default is one node. The walltime shrinks as the request grows: 60 minutes for one CPU node, 30 for two, 20 for three, 15 for four. debugjob 40 asks for 40 nodes and is rejected. A debugjob session has X11 forwarding enabled, so graphical tools such as DDT can be started directly in the session. Trillium
debugjob_neptune [number of nodes] Interactive session on 1 or 2 Neptune nodes of 40 cores (80 threads) each, for 60 or 45 minutes. Adds --qos neptune and the debug_neptune partition. Neptune access is by arrangement, not general Trillium access. Trillium (Neptune)
debugjob [number of nodes] [-g number of GPUs] Interactive session on up to 2 GPU nodes. debugjob or debugjob -g 1 is 1 GPU for 2 hours, debugjob -g 4 (same as debugjob 1) is a whole node for 1 hour, and debugjob -g 8 (same as debugjob 2) is 2 nodes for 30 minutes. Unlike Trillium, modules are inherited unless --clean is given. Balam

For debugjob the positional argument is always a node count; the core count follows from the node size (192 on Trillium CPU, 40 on Neptune, 4 GPUs on Balam)

Modules

Command Arguments Description Cluster
ml "module list" Trillium
ml <modulename> "module load <modulename>" Trillium
ml X "module X" Trillium

Related Topics

Monitoring jobs
Trillium Quickstart
Slurm Scheduler
Monitoring Jobs
Tech Talk on Monitoring Jobs