README.md 614 Bytes
Newer Older
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
1 2
# Workload Manager

Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
3 4 5 6 7
On HIMster 2 / Mogon 2, load the following module first
```bash
module load lang/Python/3.6.6-foss-2018b
```

Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
8 9
On a single node run with 
```bash
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
10
mpirun -n 4 ./wkmgr.py -v date
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
11 12
```

Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
13
or for multi nodes:
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
14
```bash
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
15 16 17 18
salloc -p parallel --reservation=himkurs -A m2_himkurs -N 1 -t 1:00:00
module load math/SUNDIALS/2.7.0-intel-2018.03
module load lang/Python/3.6.6-foss-2018b
srun -n 20 ~/workload-manager/wkmgr.py -v ~/workload-manager/examples/LGS/PulsedLGS ~/workload- manager/examples/LGS/Run27_LaPalma_Profile_I50
Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
19 20
```

Peter-Bernd Otte's avatar
Peter-Bernd Otte committed
21
with loader (untested on cluster so far) replace `wkmgr.py` with `wkloader.py`.