Skip to content

Allow utils build on PETSc config

Lars Bilke requested to merge bilke/ogs:petsc-utils into master

On PETSc config applications in general needed to call MPI_Init(). Otherwise the application would crash. This prevented lots of utils from being enabled in such a config.

This MR checks if MPI is uninitialized and then uses serial vtk file IO. Now utils can be enabled on PETSc config.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?

Note: My first constexpr... feels like living in the future...

Edited by Lars Bilke

Merge request reports