SciNet Command Line Utilities: Difference between revisions

From SciNet Users Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 63: Line 63:
|-
|-
|[https://docs.alliancecan.ca/wiki/Trillium_Quickstart#Testing_and_debugging debugjob]
|[https://docs.alliancecan.ca/wiki/Trillium_Quickstart#Testing_and_debugging debugjob]
|[''number of nodes'']
|[''number of nodes''] [''-g number of GPUs'']
|Requests a time-limited interactive session of up to 4 dedicated nodes.  A <code>debugjob</code> session has X11 forwarding enabled, so graphical tools such as DDT can be started directly in the session.
|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 <code>debugjob 2</code> means 384 cores.  On the GPU subcluster use <code>-g</code>: <code>debugjob -g 1</code> is a quarter node, <code>debugjob -g 4</code> 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.  <code>debugjob 40</code> asks for 40 nodes and is rejected.  A <code>debugjob</code> session has X11 forwarding enabled, so graphical tools such as DDT can be started directly in the session.
|Trillium
|Trillium
|-
|-

Revision as of 17:37, 25 November 2026

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

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