Step-by-Step Guide to Running a Job on JADE HPC

1. Log in to JADE

Log in to the JADE login nodes.

2. Prepare a Submission Script

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

3. Submit the Job

Submit the job to the queue with the sbatch command:

sbatch submit.sh

4. Monitor the Job

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

5. Deleting a Job

If you need to cancel a job, use the scancel command:

scancel job_id