User Tools

Site Tools


slurm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
slurm [2025/04/26 05:33] – created randonslurm [2025/09/04 15:57] (current) randon
Line 1: Line 1:
 In general submission should look like this: In general submission should look like this:
-`#SBATCH --cpus-per-task=(max 64)+ 
 +<code> 
 +#!/bin/bash 
 +#SBATCH --cpus-per-task=(max 64)
 #SBATCH --mem=(max 124G) #SBATCH --mem=(max 124G)
 #SBATCH --time=(max 7-00:00) #SBATCH --time=(max 7-00:00)
Line 6: Line 9:
  
 your commands here your commands here
-`+</code>
 If you need a gpu, add this line: If you need a gpu, add this line:
-`#SBATCH --gres=gpu:1  +<code> 
 +#SBATCH --gres=gpu:1  
 +</code>
 If you need terachem: If you need terachem:
 +<code>
 source /opt/petachem/TeraChem/SetTCVars.sh source /opt/petachem/TeraChem/SetTCVars.sh
 +</code>
 +
 +If you need anything from computecanada:
 +<code>
 +source /cvmfs/soft.computecanada.ca/config/profile/bash.sh
 +export CC_CLUSTER=cedar
 +</code>
  
 +Premade scripts for creating slurm submission scripts for CP2K, Gaussian and Terachem are available in your $PATH by default (copied to $HOME/.local/bin):
  
 +<code>
 +submit_terachem.py
 +(make_tc.py)
 +submit_cp2k
 +submit_g16.py
 +</code>
slurm.1745645582.txt.gz · Last modified: 2025/04/26 05:33 by randon