From 9d8ed968030d39d82554dcb89f5469609386d087 Mon Sep 17 00:00:00 2001
From: Peter-Bernd Otte
Date: Wed, 1 May 2019 17:26:42 +0200
Subject: [PATCH] Update wkloader.py
---
wkloader.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 wkloader.py
diff --git a/wkloader.py b/wkloader.py
new file mode 100644
index 0000000..67a10e0
--- /dev/null
+++ b/wkloader.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+from __future__ import print_function
+print("Workload manager loader")
+
+import sys
+import os
+
+if sys.version_info<(3,5,0):
+ print("Python version < 3.5 detected. Load python 3.6 with:\nmodule load lang/Python/3.6.6-foss-2018b")
+ exit(1)
+
+import tpar
+
+#ToDo:
+# absorb all functions in tpar into a single function and call it here
+# Call srun commando from here
+# or call mpirun
--
GitLab