[MacPorts] #69118: hdf5 @1.14.3_2+cxx+fortran+gfortran+hl+openmpi: config errors

MacPorts noreply at macports.org
Sat Feb 17 19:41:23 UTC 2024


#69118: hdf5 @1.14.3_2+cxx+fortran+gfortran+hl+openmpi: config errors
---------------------------+----------------------
  Reporter:  chaochinyang  |      Owner:  eborisch
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  hdf5          |
---------------------------+----------------------

Comment (by jmon12):

 I've had the similar issue with `openmpi-default`:

 > :info:configure configure: error: linking to Fortran libraries from C
 fails

 I've tried the following combinations:
  - `openmpi-gcc13` and `hdf5 +openmpi +gcc13` --> Fail to install
 `openmpi-gcc13`, see ticket https://trac.macports.org/ticket/68837
  - `openmpi-clang17` and `hdf5 +openmpi +clang17` --> Fails to configure
 (like `openmpi-default`)
  - `openmpi-gcc12` and `hdf5 +openmpi +gcc12` --> Fails to build (the
 final or an intermediary linking step). I need to investigate further.

 Note that in any case, I'm setting openmpi's wrapper (see `port notes
 openmpi-<compiler>`), for example for `gcc12`: `sudo port select --set mpi
 openmpi-gcc12-fortran`. Anyway it shouldn't play a role.

 I'm using a MacBook Pro (2020) with intel CPU and MacOS 14.3.1 (23D60).

-- 
Ticket URL: <https://trac.macports.org/ticket/69118#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list