Changes between Version 80 and Version 81 of cypress/using


Ignore:
Timestamp:
08/06/25 13:57:14 (4 days ago)
Author:
cbaribault
Comment:

Added subtitles for sbatch, squeue, scancel

Legend:

Unmodified
Added
Removed
Modified
  • cypress/using

    v80 v81  
    8383}}}
    8484
     85==== Submit using sbatch command ====
    8586
    8687With our SLURM script complete, we’re ready to run our program on the cluster. To submit our script to SLURM, we invoke the '''sbatch''' command. Suppose we saved our script in the file helloworld.srun (the extension is not important). Then our submission would look like:
     
    114115[tulaneID@cypress1 ~]$
    115116}}}
     117
     118==== Monitor using squeue, cancel using scancel commands ====
    116119
    117120There are two more commands we should familiarize ourselves with before we begin. The first is the “squeue” command. This shows us the list of jobs that have been submitted to SLURM that are either currently running or are in the queue waiting to run. The last is the “scancel” command. This allows us to terminate a job that is currently in the queue. To see these commands in action, let's simulate a one-hour job by using the sleep command at the end of a new submission script.