From 336a0e95eacdb3beedc96459f992b2ce7c7f9ca6 Mon Sep 17 00:00:00 2001
From: Pavel Holba <pavel.holba@vsb.cz>
Date: Mon, 14 Oct 2024 14:22:17 +0200
Subject: [PATCH] Hol0598 master patch 35346

---
 docs.it4i/general/slurm-job-submission-and-execution.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs.it4i/general/slurm-job-submission-and-execution.md b/docs.it4i/general/slurm-job-submission-and-execution.md
index 67d19e295..49f901d45 100644
--- a/docs.it4i/general/slurm-job-submission-and-execution.md
+++ b/docs.it4i/general/slurm-job-submission-and-execution.md
@@ -130,6 +130,10 @@ Submit directory will be used as working directory for submitted job,
 so there is no need to change directory in the job script.
 Alternatively you can specify job working directory using the sbatch `--chdir` (or shortly `-D`) option.
 
+### Srun Over mpirun
+
+While `mpirun` can be used to run parallel jobs on our Slurm-managed clusters, we recommend using `srun` for better integration with Slurm's scheduling and resource management. `srun` ensures more efficient job execution and resource control by leveraging Slurm’s features directly, and it simplifies the process by reducing the need for additional configurations often required with `mpirun`.
+
 ### Job Submit
 
 Submit batch job:
-- 
GitLab