From cf35d605f0cb9bc063e9fd5a34c7dd231afe4f7e Mon Sep 17 00:00:00 2001
From: lschneider <leo.schneider@ecl19.ec-lyon.fr>
Date: Fri, 19 Jan 2024 13:28:38 +0100
Subject: [PATCH] slurm

---
 job_rt_pred.sh | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 job_rt_pred.sh

diff --git a/job_rt_pred.sh b/job_rt_pred.sh
new file mode 100644
index 0000000..c12da05
--- /dev/null
+++ b/job_rt_pred.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+#SBATCH --job-name=RT_pred
+#SBATCH --account=bun@v100
+#SBATCH --partition=gpu_p13
+#SBATCH --ntasks=1                   # number of MP tasks
+#SBATCH --ntasks-per-node=1          # number of MPI tasks per node
+#SBATCH --gres=gpu:1                 # number of GPUs per node
+#SBATCH --cpus-per-task=10           # number of cores per tasks
+#SBATCH --hint=nomultithread         # we get physical cores not logical
+#SBATCH --distribution=block:block   # we pin the tasks on contiguous cores
+#SBATCH --time=20:00:00              # maximum execution time (HH:MM:SS)
+#SBATCH --output=expe/output_RT_pred_%j.out
+#SBATCH --error=expe/error_RT_pred_%j.out
+
+# Clean modules
+module purge
+
+# Load used modules
+module load  pytorch-gpu/py3
+
+# Echo commands
+set -x
+
+# Execute python code
+python3 -u /gpfswork/rech/ute/ucg81ws/these/LC-MS-RT-prediction/main.py 
-- 
GitLab