Log in to the JADE login nodes.
Create a submission script (e.g., submit.sh) with the following content:
#!/bin/bash
# set the number of nodes
#SBATCH --nodes=1
# set max wallclock time
#SBATCH --time=10:00:00
# set name of job
#SBATCH --job-name=job123
# set number of GPUs
#SBATCH --gres=gpu:1
# mail alert at start, end and abortion of execution
#SBATCH --mail-type=ALL
# send mail to this address
#SBATCH [email protected]
# run the application
myCode
Submit the job to the queue with the sbatch command:
sbatch submit.sh
Use the squeue command to monitor the job status:
squeue -u your_username
**ⓘ FOR ME IT IS:** squeue -u bxn40-mrt21
To get detailed information about your job, use:
squeue -j job_id
The expected start time of all pending jobs:
squeue --start
If you need to cancel a job, use the scancel command:
scancel job_id