From 273136102cd50ae269a5d07bb22e969ae12716d5 Mon Sep 17 00:00:00 2001
From: John Arnold <john.arnold@rwth-aachen.de>
Date: Thu, 11 Jul 2024 09:31:01 +0200
Subject: [PATCH] Added basic_mpi.sh slurm batch script

---
 basic_mpi.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 basic_mpi.sh

diff --git a/basic_mpi.sh b/basic_mpi.sh
new file mode 100644
index 0000000..4f0e422
--- /dev/null
+++ b/basic_mpi.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/zsh 
+
+### Job Parameters 
+#SBATCH --ntasks=8              # Ask for 8 MPI tasks
+#SBATCH --time=00:15:00         # Run time of 15 minutes
+#SBATCH --job-name=example_job  # Sets the job name
+#SBATCH --output=stdout.txt     # redirects stdout and stderr to stdout.txt
+#SBATCH --account=<project-id>  # Insertg your project-id or delete this line
+
+### Program Code
+srun hostname
\ No newline at end of file
-- 
GitLab