[MacPorts] #59162: py36-h5py openmpi variant error
MacPorts
noreply at macports.org
Fri Oct 4 09:15:46 UTC 2019
#59162: py36-h5py openmpi variant error
------------------------+-------------------------------
Reporter: jolivetr | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: py36-h5py openmpi
Port: py36-h5py |
------------------------+-------------------------------
Description changed by jolivetr:
Old description:
> Hello,
>
> BUilding the py36-h5py port with the openmpi variant actually works, but
> does not performs the checks for variants correctly.
> I do not understand the port syntax, but macport returns a warning/error
> reading this (line 62 of the portfile):
>
> mpi.enforce_variant hdf5 \
> py${python.version}-mpi4py
>
> As a consequence, py36-h5py does not force to build hdf5 and mpi4py with
> the openmpi variants, and it fails at runtime.
> We should edit the port so that hdf5 and mpi4py are forced to be
> compatible (and I don't know how to do that).
>
> Cheers,
> Romain
New description:
Hello,
BUilding the py36-h5py port with the openmpi variant actually works, but
does not performs the checks for variants correctly.
I do not understand the port syntax, but macport returns a warning/error
reading this (line 62 of the portfile):
mpi.enforce_variant hdf5 \
py${python.version}-mpi4py
As a consequence, py36-h5py does not force to build hdf5 and mpi4py with
the openmpi variants, and it fails at runtime.
When forcing hdf5 and mpi4py to be built with the right variants before,
everything works fine, so it just a portfile dependents issue.
We should edit the port so that hdf5 and mpi4py are forced to be
compatible (and I don't know how to do that).
Cheers,
Romain
--
--
Ticket URL: <https://trac.macports.org/ticket/59162#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list