From 8039d9e1679f8bf49edc40d17518d27df06934a7 Mon Sep 17 00:00:00 2001
From: Jbrackenhoff <joeri_scw@live.nl>
Date: Thu, 6 Jun 2019 12:44:29 -0500
Subject: [PATCH] WS15

---
 marchenko/demo/twoD/marchenko_ray.pbs | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100755 marchenko/demo/twoD/marchenko_ray.pbs

diff --git a/marchenko/demo/twoD/marchenko_ray.pbs b/marchenko/demo/twoD/marchenko_ray.pbs
new file mode 100755
index 0000000..82098e6
--- /dev/null
+++ b/marchenko/demo/twoD/marchenko_ray.pbs
@@ -0,0 +1,25 @@
+#!/bin/bash 
+#PBS -N Marchenko
+#PBS -j oe
+#PBS -l place=scatter,select=1
+#PBS -S /bin/bash
+#PBS -V
+#PBS -q bw44-sm
+# PBS -q sk40-sm
+#PBS -l walltime=00:10:00
+
+set -x
+cd $PBS_O_WORKDIR
+ulimit -s unlimited
+
+export KMP_AFFINITY=disabled
+export OMP_NUM_THREADS=40
+
+starttime=`date +%s%N`
+
+aprun -n1 -d $OMP_NUM_THREADS ./marchenko_ray.scr
+
+endtime=`date +%s%N`
+runtime=$(echo "scale=9; 1.0*10^(-9)*(${endtime}-${starttime})" | bc -l)
+echo "Runtime = $runtime seconds" 
+
-- 
GitLab