Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| quickstart [2025/02/10 16:44] – docuadmin | quickstart [2025/05/08 19:43] (current) – docuadmin | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| The commands are now in a format that can be submitted to the scheduler to be run as a job on the cluster. But we also need to tell the scheduler what resources are needed. This information can be passed to SLURM directly in the '' | The commands are now in a format that can be submitted to the scheduler to be run as a job on the cluster. But we also need to tell the scheduler what resources are needed. This information can be passed to SLURM directly in the '' | ||
| - | The job can be submitted to the scheduler by adding flags to the '' | + | The job can be submitted to the scheduler by adding flags to the '' |
| - | $ srun -J SleepJob -N 1 --tasks-per-node=1 date.sub & | + | $ sbatch |
| To place the resource request in the script itself, we modify the script to include additional lines for SLURM: | To place the resource request in the script itself, we modify the script to include additional lines for SLURM: | ||
| Line 78: | Line 78: | ||
| date | date | ||
| - | Then the job is submitted with '' | + | Then the job is submitted with '' |
| - | $ srun date.sub | + | $ sbatch |
| The '' | The '' | ||