Skip to content

Instantly share code, notes, and snippets.

@surya00060
Last active July 14, 2025 18:19
Show Gist options
  • Select an option

  • Save surya00060/0a757a50b91b17201cb880f615add7a2 to your computer and use it in GitHub Desktop.

Select an option

Save surya00060/0a757a50b91b17201cb880f615add7a2 to your computer and use it in GitHub Desktop.
SLURM job submission script for Gautschi Cluster
#!/bin/bash -l
#SBATCH -p cocosys #Partition is fixed to cocosys
#SBATCH -A cocosys #Account is also fixed to cocosys
#SBATCH --nodes=1 #Number of nodes
#SBATCH --time=12:00:00 # Max Time limit
#SBATCH --job-name job_name
#SBATCH --gpus-per-node=1 #Number of GPUs per node
#SBATCH --cpus-per-gpu=14 #Number of CPUs per GPU. Requires 14:1 ratio of GPU and CPU
#SBATCH --output=job_output_gautschi.out
echo "=== Job $SLURM_JOB_ID starting at $(date +'%Y-%m-%d %H:%M:%S') ==="
module load conda
conda activate /depot/araghu/data/selvams/CondaEnvs/Colbert-RAG
python xx_yy.py
echo "=== Job $SLURM_JOB_ID starting at $(date +'%Y-%m-%d %H:%M:%S') ==="
## More details can be found at Amogh's github repo: https://github.com/amoghj98/rcac-utils
## Feel free to reach out to me or Amogh for more details!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment