Skip to content

Submitting Course JobsPermanent link to Submitting Course Jobs

Submit scripts on Wulver must include specification of partition, account, qos, and time limit. Also the first line in the batch file must be #!/bin/bash -l.

Below is the minimal example for a 10-minute test job:

1
2
3
4
5
#!/bin/bash -l
#SBATCH --partition=course
#SBATCH --account=2025-fall-ds-492-kjc59-ls565
#SBATCH --qos=course
#SBATCH --time=00:10:00

Sample Job scriptsPermanent link to Sample Job scripts

Make sure to replace --account with your assigned course account.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/bash
#SBATCH --job-name=mpi_test_job
#SBATCH --output=%x.%j.out
#SBATCH --error=%x.%j.err
#SBATCH --partition=course
#SBATCH --account=2025-fall-ds-492-kjc59-ls565
#SBATCH --qos=course
#SBATCH --time=00:10:00
#SBATCH --ntasks=64

# Run application commands
srun /apps/testjobs/bin/mpihello
  • Runs an MPI job named mpi_test_job.
  • Uses 64 processes across available nodes.
  • Wall time: 10 minutes.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/bin/bash
#SBATCH --job-name=test_gpu_job
#SBATCH --output=%x.%j.out
#SBATCH --error=%x.%j.err
#SBATCH --partition=course_gpu
#SBATCH --account=2025-fall-ds-492-kjc59-ls565
#SBATCH --qos=course
#SBATCH --time=00:20:00
#SBATCH --ntasks=2
#SBATCH --gres=gpu:a100_10g:1

# Load application environment
module load CUDA

# Run application commands
nvidia-smi
  • Runs a GPU job named test_gpu_job.
  • Allocates 2 CPUs and single A100 10G MIG GPU.
  • Wall time: 20 minutes.

Limitation of GPU JobsPermanent link to Limitation of GPU Jobs

  • You cannot request multiple MIG instances in one job.
    For example: --gres=gpu:a100_10g:2
    This will either cause an error or misinterpretation as a single GPU.

  • Each job should request one GPU per job.
    For multiple tasks, use job arrays instead of multiple MIGs.

Interactive jobsPermanent link to Interactive jobs

You can also start an interactive session instead of a batch job.

1
interactive -a ACCOUNT -q QOS -p PARTITION -j JOB_TYPE

Parameters:

  • -a ACCOUNT → Your assigned course account
  • -q course → QoS for course jobs
  • -p course → Partition (use course or course_gpu)
  • -j JOB_TYPE → Type of job (e.g., cpu or gpu)

Example

1
interactive -a 2025-fall-ds-492-kjc59-ls565 -q course -p course

This command launches a temporary compute session for hands-on work or testing.

Learn More About Job Submission

For more detailed examples and advanced options, visit the Running Jobs page.