getting_started
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| getting_started [2024/03/15 21:51] – admin | getting_started [2024/03/15 21:52] (current) – admin | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| To view the available partitions, the sinfo command is available: | To view the available partitions, the sinfo command is available: | ||
| - | < | + | < |
| $ sinfo | $ sinfo | ||
| PARTITION AVAIL TIMELIMIT | PARTITION AVAIL TIMELIMIT | ||
| Line 16: | Line 16: | ||
| We can view the list of currently submitted jobs using the squeue command: | We can view the list of currently submitted jobs using the squeue command: | ||
| - | < | + | < |
| | | ||
| JOBID PARTITION | JOBID PARTITION | ||
| Line 26: | Line 26: | ||
| ===== Submitting jobs ===== | ===== Submitting jobs ===== | ||
| The sbatch command is available for job submission: | The sbatch command is available for job submission: | ||
| - | < | + | < |
| $ sbatch job.mpi | $ sbatch job.mpi | ||
| </ | </ | ||
| Line 56: | Line 56: | ||
| ===== Listing Your Accounting Projects ===== | ===== Listing Your Accounting Projects ===== | ||
| Every user is required to be in a project before they can run jobs, to see your project, please run this command: | Every user is required to be in a project before they can run jobs, to see your project, please run this command: | ||
| - | < | + | < |
| $ sacctmgr show user $USER format=User, | $ sacctmgr show user $USER format=User, | ||
| User Def Acct | User Def Acct | ||
| Line 67: | Line 67: | ||
| ===== Interactive Jobs With Slurm ===== | ===== Interactive Jobs With Slurm ===== | ||
| Its possible that batch jobs are not fit for a particular task, and for that reason, Slurm also provides a means to get an interactive terminal session on the compute node. This can be used for example to do code compilation. | Its possible that batch jobs are not fit for a particular task, and for that reason, Slurm also provides a means to get an interactive terminal session on the compute node. This can be used for example to do code compilation. | ||
| - | < | + | < |
| $ srun -A physics | $ srun -A physics | ||
| </ | </ | ||
getting_started.txt · Last modified: 2024/03/15 21:52 by admin
