[MacPorts] #45195: ncarg @6.2.1 +gcc49 Compile Error (includes +mpich) and also cannot find "_HE5_EHHEisHE5"

MacPorts noreply at macports.org
Tue Oct 7 09:30:30 PDT 2014


#45195: ncarg @6.2.1 +gcc49 Compile Error (includes +mpich) and also cannot find
"_HE5_EHHEisHE5"
---------------------------------+--------------------------------
  Reporter:  William.Capehart@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.1
Resolution:                      |   Keywords:
      Port:  ncarg               |
---------------------------------+--------------------------------

Comment (by sean@…):

 Replying to [comment:11 takeshi@…]:
 > Sean, setting configure.cc directly didn't work. It appears that gcc-
 mp-4.9 is selected over h5pcc when built with +mpich and +gcc49. In
 formation which compiler was used to build with hdf5 is contained in h5cc
 or h5pcc. Given hdf5 and hdfeos5 be compiled with the same version of
 compiler consistently, what hdfeos5 needs to do is to find if hdf5 is
 built with one of MPI variants.

 configure.cc wasn't set because mpi.choose was told to only change the cxx
 compiler. As for enforcing the mpi variants, one should use
 'mpi.enforce_variant' which I wrote precisely due to hdf5 :-) There might
 be some bugs in it (please let me know if so). Adding 'mpi.enforce_variant
 hdf5' to hdfeos5, I get:

 {{{
 $ port installed hdf5
 The following ports are currently installed:
   hdf5 @1.8.13_0+cxx (active)

 $ sudo port configure hdfeos5 +mpich +gcc49
 --->  Computing dependencies for isl
 --->  Cleaning isl
 --->  Computing dependencies for hdfeos5
 --->  Fetching distfiles for hdfeos5
 Error: Install hdf5 +mpich
 Error: Failed to fetch hdfeos5: hdf5 +mpich not installed
 Error: See
 /opt/local/var/macports/logs/_Users_sean_projects_macports_dports_science_hdfeos5/hdfeos5/main.log
 for details.
 Error: Follow http://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port hdfeos5 failed
 }}}

 Then, if a user installs hdf5 +mpich (but forgets gcc49):

 {{{
 sudo port configure hdfeos5 +mpich +gcc49
 --->  Computing dependencies for isl
 --->  Cleaning isl
 --->  Computing dependencies for hdfeos5
 --->  Fetching distfiles for hdfeos5
 Error: Install hdf5 +gcc49
 Error: Failed to fetch hdfeos5: hdf5 +gcc49 not installed
 Error: See
 /opt/local/var/macports/logs/_Users_sean_projects_macports_dports_science_hdfeos5/hdfeos5/main.log
 for details.
 Error: Follow http://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port hdfeos5 failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45195#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list