diff --git a/wkloader.py b/wkloader.py new file mode 100644 index 0000000000000000000000000000000000000000..67a10e00657b21b4a7cc5f5e3a2c56e5d7f0d97d --- /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