Goal: Introduction to Slurm and how to start interactive sessions, submit jobs and monitor.
...
Info |
---|
|
...
Submit Jobs: sbatch
: Template
...
Code Block |
---|
# Lots more information
[]$ squeue --help
[]$ man squeue
# Display more columns:
# For example how much time is left of your requested wall time: TimeLeft
squeue -u arcc-t05 --Format="Account,UserName,JobID,SubmitTime,StartTime,TimeLeft"
[salexan5@mblog1 ~]$ squeue -u vvarenth --Format="Account,UserName,JobID,SubmitTime,StartTime,TimeLeft"
ACCOUNT USER JOBID SUBMIT_TIME START_TIME TIME_LEFT
arccantrain arcc-t05 1795458 2024-08-14T10:31:07 2024-08-14T10:31:09 6-04:42:51
arccantrain arcc-t05 1795453 2024-08-14T10:31:06 2024-08-14T10:31:07 6-04:42:49
arccantrain arcc-t05 1795454 2024-08-14T10:31:06 2024-08-14T10:31:07 6-04:42:49
... |
...
Submission from your Current Working Directory
Info |
---|
Remember from Linux, that your current location is your Current Working Directory - abbreviated to CWD. By default Slurm will look for files, and write output, from the folder you submitted your script from i.e. your CWD. In the example above, if I called Within the submission script you can define paths (absolute/relative) to other locations. |
...
Submit Jobs: scancel
: Cancel?
...