-
Notifications
You must be signed in to change notification settings - Fork 3
Running jobs
Allan Fields (NRC-CNRC) edited this page Dec 5, 2020
·
11 revisions
Trixie use the slurm scheduler to manage jobs. Compute Canada has a very good guide for using slurm to submit jobs to a cluster most of which is applicable for Trixie: https://docs.computecanada.ca/wiki/Running_jobs
Here is a simple job which runs the python code hello.py
Contents of hello.py
print('Hello world')
#!/bin/bash
#SBATCH -J helloworld
module load conda
srun python ~/hello.py
In order for a job to run on Trixie, it must be "billed" against an approved project. Users are able to charge different projects depending on what their activity is for.
See here for the Account Codes