GEOS-DEV / GEOS-DEV/thirdPartyLibs

petsc does not compile with MPI > 3.0

Open
#57 7 comments 0 reactions 2 assignees View on GitHub

@rtmills is already working on this.

Since Sep 10, 2019.

Dominant language
Python
Stars
4
Forks
18
Avg merge
9d 14h
Merged PRs (30d)
4

Description

Hello,

It seems that PETSc use functions that are not supported anymore in MPI v4.0.1

/home/amazuyer/devel/geosx/thirdPartyLibs/build-default-clang-release/petsc/src/petsc/src/sys/objects/init.c: In function ‘PetscOptionsCheckInitial_Private’:
/home/amazuyer/devel/geosx/thirdPartyLibs/build-default-clang-release/petsc/src/petsc/src/sys/objects/init.c:417:40: error: ‘MPI_Handler_function’ undeclared (first use in this function); did you mean ‘MPI_User_function’?
  417 |     ierr = MPI_Comm_create_errhandler((MPI_Handler_function*)Petsc_MPI_DebuggerOnError,&err_handler);CHKERRQ(ierr);
      |                                        ^~~~~~~~~~~~~~~~~~~~
      |   

Indeed, according to this comment:

https://github.com/open-mpi/ompi/blob/c672a51ccd09c7c0b208c912101e46ce391ab1e7/ompi/include/mpi.h.in#L2753

It does not exist anymore

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.