Changes between Version 80 and Version 81 of cypress/using
- Timestamp:
- 08/06/25 13:57:14 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/using
v80 v81 83 83 }}} 84 84 85 ==== Submit using sbatch command ==== 85 86 86 87 With 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: … … 114 115 [tulaneID@cypress1 ~]$ 115 116 }}} 117 118 ==== Monitor using squeue, cancel using scancel commands ==== 116 119 117 120 There 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.