How To: Parallel OGS5 for big domains (mesh decomposition)

  1. Download a parallelized version of OGS5 from:
    e.g. this version for MPI on Linux systems.
    Or compile your own parallelized OGS5 executable (load modules from!, UFZ-EVE specific):
cd build
module purge
source ../ogs5/scripts/env/envinf1/
  1. Compile partmesh to partition the OGS domain:

  2. Follow the instructions on to partition your domain.

  3. Write a submit script for e.g. EVE like this:

#$ -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/
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!


Since the latest stable build link is always updated (and the one given above is already outdated), go with this: