Bath HPC
Balena
- Getting Access
- Getting Started
- System Architecture
- Developer Guides
- Premium Accounts
- MPI Guide
- Training
- Scheduler
- Storage
- Software
- Environment Modules
- Getting Help
#!/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
To submit a job to Balena use the sbatch command along with the job-script file.
sbatch jobscript.slurm
squeue --user=user123