#36203: hdf5-18: Variant openmpi conflicts with gcc45 ------------------------+--------------------- Reporter: smasson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: hdf5-18 | ------------------------+--------------------- Comment (by smasson@…): Replying to [comment:4 eborisch@…]:
If you were using mpich2, I would say use 'port install mpich2 +gcc45' and then 'port install hdf5-18 +mpich2'; hdf5-18 now uses the selected mpi's wrappers, which, at least in mpich2's case, means that gcc45's CC, CXX, and fortran compilers will be used for compiling hdf5-18.
People told me that openmpi was more popular that mpich2. So I use openmpi. I could try to switch to mpich2...
The openmpi port currently uses only the fortran compiler from the requested +gccNN variant. If you would like that behavior to change, please file a separate ticket. For these scientific packages, in my opinion, if the user is requesting a particular +gccNN variant, they are probably expecting/desiring that compiler's CC,CXX, and F90 to be used for everything (not just fortran), but that's just my point of view...
I agree with your point. I will put another ticket.
Installing 'openmpi +gcc45' and then 'hdf5-18 +openmpi' will likely still work, but I haven't tried it myself.
-- Ticket URL: <https://trac.macports.org/ticket/36203#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS