Opened 10 years ago
Closed 10 years ago
#44054 closed defect (fixed)
use h5pcc instead of h5cc to compile hdfeos5
Reported by: | massonseb | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.0 |
Keywords: | Cc: | cooljeanius (Eric Gallager), petrrr | |
Port: | hdfeos5 |
Description
I installed hdf5-18 with the following variants:
hdf5-18 @1.8.13_0+cxx+fortran+gcc48+openmpi+szip (active)
This installs h5pcc and not h5cc in /opt/local/bin (I guess because of the +openmpi variant).
In this case, hdfeos5 does not compile as it is looking for h5cc which does not exist.
Replacing the 2 occurrences of h5cc by h5pcc in $( port dir hdfeos5 )/Portfile solved the problem in my case.
Something should be done to select h5cc or h5pcc automatically.
Change History (4)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | takeshi@… removed |
---|---|
Keywords: | hdfeos5 h5cc and h5pcc removed |
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | hdfeos5 added |
comment:4 Changed 10 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Introduced mpi variants in r121415. h5cc or h5pcc is chosen depending on the mpi variant of hdf5-18. Choose a dummy cxx in mpi.choose to exclude cc and set a custom value in configure.cc. The libraries linked to the built libraries are the same even if mpicc-mp-* is used. The Buildbot for Mavericks seems to have failed to fetch the source.
In the future, please fill in the Port field.