[MacPorts] #59162: py36-h5py openmpi variant error
MacPorts
noreply at macports.org
Fri Oct 4 10:23:05 UTC 2019
#59162: py36-h5py openmpi variant error
------------------------+----------------------
Reporter: jolivetr | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py36-h5py |
------------------------+----------------------
Changes (by ryandesign):
* keywords: py36-h5py openmpi =>
* owner: (none) => eborisch
* status: new => assigned
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.
> 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
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
--
Comment:
> macport returns a warning/error reading this
What warning/error does it return?
--
Ticket URL: <https://trac.macports.org/ticket/59162#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list