Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 27
    • Merge requests 27
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogs
  • ogs
  • Merge requests
  • !3874

Allow utils build on PETSc config

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lars Bilke requested to merge bilke/ogs:petsc-utils into master Nov 05, 2021
  • Overview 9
  • Commits 4
  • Pipelines 5
  • Changes 12

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 Nov 11, 2021 by Lars Bilke
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: petsc-utils