From 42df4d3e71a2ce2e79d9394f15ea63d82ebd2dac Mon Sep 17 00:00:00 2001
From: "61sima1bif@hft-stuttgart.de" <hs_61sima1bif@uc2n995.localdomain>
Date: Sun, 16 May 2021 21:40:09 +0200
Subject: [PATCH] added testscript.sh

---
 testscript.sh | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 testscript.sh

diff --git a/testscript.sh b/testscript.sh
new file mode 100644
index 0000000..fb95f0c
--- /dev/null
+++ b/testscript.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#MSUB -l nodes=1:ppn=4
+#MSUB -l walltime=00:10:00
+Load required module files
+#msub -I -V -l nodes=1:ppn=4,pmem=5000mb -l
+walltime=0:02:00:00
+module load compiler/intel/19.0
+module load mpi/openmpi/4.0
+mpicc -o helloworld helloworld.c -no-multibyte-chars
+mpirun -n 1 ./helloworld
+echo "-------------------"
+mpirun -n 2 ./helloworld
+echo "------------------"
+mpirun -n 4 ./helloworld
+echo "--------------------"
-- 
GitLab