[MacPorts] #36203: hdf5-18: Variant openmpi conflicts with gcc45
#36203: hdf5-18: Variant openmpi conflicts with gcc45 -----------------------+-------------------------------- Reporter: smasson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -----------------------+-------------------------------- I have hdf5-18 installed with the variants gcc45 and openmpi: {{{ bash-3.2$ port installed hdf5-18 The following ports are currently installed: hdf5-18 @1.8.9_0+gcc45+openmpi (active) }}} since version 1.8.9.1, hdf5-18 the compatibility with previous version is lost and it doesn't accept anymore gcc45+openmpi variants. I cannot upgrade this package and the related packages. {{{ Error: hdf5-18: Variant openmpi conflicts with gcc45 }}} However, I need gcc45+openmpi for netcdf and wgrib2 that depends on hdf5-18. [[BR]] How should I proceed? -- Ticket URL: <https://trac.macports.org/ticket/36203> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mmoll@… * port: => hdf5-18 Comment: Install hdf5-18 without the +gcc45 variant. This change was intentional. -- Ticket URL: <https://trac.macports.org/ticket/36203#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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. 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... 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:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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:1 ryandesign@…]:
Install hdf5-18 without the +gcc45 variant. This change was intentional. yes but i need netcdf+gcc45+openmpi and netcdf uses hdf5-18 and automatically compiles it with gcc45+openmpi. idem for wgrib2
-- Ticket URL: <https://trac.macports.org/ticket/36203#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 eborisch@…): Replying to [comment:7 smasson@…]:
People told me that openmpi was more popular that mpich2. So I use openmpi. I could try to switch to mpich2...
Depends who you ask. ;) (I am the mpich2[-devel] port maintainer.) I also work on a cluster running mvapich2 (which is based on mpich2) so I use mpich2 as it is "more related." -- Ticket URL: <https://trac.macports.org/ticket/36203#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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@…): It seems to work with the variants: hdf5-18 +fortran +openmpi -- Ticket URL: <https://trac.macports.org/ticket/36203#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36203: hdf5-18: Variant openmpi conflicts with gcc45 ------------------------+--------------------- Reporter: smasson@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: hdf5-18 | ------------------------+--------------------- Changes (by eborisch@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/36203#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts