- Download a parallelized version of OGS5 from:
https://jenkins.opengeosys.org/job/ufz/job/ogs5/job/master/
e.g. this version for MPI on Linux systems.
Or compile your own parallelized OGS5 executable (load modules from cli.sh!, UFZ-EVE specific):
cd build
module purge
source ../ogs5/scripts/env/envinf1/cli.sh
cmake ../ogs5 -DOGS_CONFIG=FEM -DCMAKE_BUILD_TYPE=Release
make
-
Compile partmesh to partition the OGS domain:
https://github.com/ufz/mesh_partition -
Follow the instructions on https://github.com/ufz/mesh_partition to partition your domain.
-
Write a submit script for e.g. EVE like this:
#!/bin/bash
#$ -S /bin/bash
#$ -N NameOfModelRun
#$ -o /work/$USER/MPI-TEST.log
# merge stdout and stderr in one file
#$ -j y
#$ -l h_rt=86400
#$ -l h_vmem=4G
# specify the number of cores: 2 (same number like parts of mesh)
#$ -pe openmpi-orte 2
# eventually load modules which have been used to compile
module load openmpi/gcc/1.8.8-1
source ../ogs5/scripts/env/envinf1/cli.sh
mpirun -np $NSLOTS path/to/parallel/ogs5/executable/ path/to/ogs5/project/name
If you encounter any errors or notice any missing information, please let me know!
Best,
Timo