hdf5-18 openmpi conflicting with gcc46

Eric A. Borisch eborisch at macports.org
Fri Sep 7 07:17:34 PDT 2012


On Thu, Sep 6, 2012 at 11:10 PM, Lawrence Velázquez
<larry.velazquez at gmail.com> wrote:
> On Sep 6, 2012, at 11:26 p.m., Srinath Vadlamani wrote:
>
>> This was not the case a few months ago, but now it is.
>>
>> Why?
>
> The openmpi variant now forces the use of the compiler that was used to build openmpi. It conflicts with all gccXY variants.
>
> vq

If you want hdf5-18 installed with gcc46's fortran and openmpi, do this:

sudo port install openmpi +gcc46 (openmpif90 wraps gcc46's fortran)
sudo port install hdf5-18 +openmpi+fortran (uses openmpi(cc|cxx|f90)
as the compilers)

Similarly for mpich2, but for mpich2, all the gccNN compilers
(c/c++/fort) are used, not just fortran.

This was done to avoid failures when competing gccNN (or lack thereof)
versions were selected for mpich2/openmpi and hdf5-18 +openmpi /
+mpich2.

 -Eric


More information about the macports-dev mailing list