Bug 1757279 - petsc needs rebuilding for new mpich
Summary: petsc needs rebuilding for new mpich
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: petsc
Version: 31
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-01 04:16 UTC by Orion Poplawski
Modified: 2019-10-26 17:21 UTC (History)
1 user (show)

Fixed In Version: petsc-3.11.3-9.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-26 17:21:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2019-10-01 04:16:09 UTC
Description of problem:

petsc appears to have the unfortunate trait of checking for mpich versions:

/usr/include/mpich-x86_64/petsc/petscsys.h:163:6: error: #error "PETSc was configured with one MPICH mpi.h version but now appears to be compiling using a different MPICH mpi.h version"
  163 | #    error "PETSc was configured with one MPICH mpi.h version but now appears to be compiling using a different MPICH mpi.h version"
      |      ^~~~~

This is currently breaking dependencies like sundials in F31+:
https://koschei.fedoraproject.org/package/sundials?collection=f31

Version-Release number of selected component (if applicable):
petsc-3.11.3-6.fc32

I would strongly urge working with upstream to remove this check.  Barring that, I think petsc-mpich will need to explicitly require the version of mpich it was compiled with to catch this earlier at the rpm level.

Comment 1 Fedora Update System 2019-10-02 08:41:08 UTC
FEDORA-2019-2af581935e has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2af581935e

Comment 2 Fedora Update System 2019-10-03 03:19:45 UTC
petsc-3.11.3-9.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2af581935e

Comment 3 Fedora Update System 2019-10-26 17:21:23 UTC
petsc-3.11.3-9.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.