Skip to end of metadata
Go to start of metadata

 

Create a Job Submission Script

Example
#!/bin/bash

# set the account to be used for the job
#SBATCH --account=free

# set name of job 
#SBATCH --job-name=myjob
#SBATCH --output=myjob.out
#SBATCH --error=myjob.err

# set the number of nodes
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=16

# set max wallclock time
#SBATCH --time=04:00:00

# mail alert at start, end and abortion of execution
#SBATCH --mail-type=END

# send mail to this address
#SBATCH --mail-user=user123@bath.ac.uk

# run the application
./myparallelscript

Submit your Job to the Queue

To submit a job to Balena use the sbatch command along with the job-script file.

sbatch jobscript.slurm

Monitoring your Job

squeue --user=user123
  • No labels