[MacPorts] #35457: mpich2 variant for hdf5-18
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- I'd like to add +mpich2 variant for hdf5-18. -- Ticket URL: <https://trac.macports.org/ticket/35457> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => eborisch@… -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by mmoll@…): Why does the patch change the compiler for the non-Fortran code? -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by eborisch@…): It is one of the ways to build parallel hdf5; just set the cc and cxx [fc] to the mpi compiler/wrapper scripts. From http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL {{{ A parallel version of HDF5 can be built by specifying `mpicc' as the C compiler. (The `--enable-parallel' flag documented below is optional in this case.) Using the `mpicc' compiler will insure that the correct MPI and MPI-IO header files and libraries are used. $ CC=/usr/local/mpi/bin/mpicc ./configure }}} I'll try to look some night this week... -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by eborisch@…): I'm not sure if I should be the owner here. If you (mmoll) would like me to, I can take care of it. (Like I just mentioned, will likely be some evening this week.) -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by mmoll@…): Sorry, I should have been more specific. I am referring to lines like this: {{{ configure.compiler macports-gcc-4.5 }}} -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by eborisch@…): Hrmm. I guess that's a choice. It might be worth changing the gccNN variants to build everything with the selected gccNN (cc, cxx) compilers, rather than just using it for Fortran. I know some other ports work that way... Discussion? -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by ryusuke.numata@…): I found configure.compiler sets some FLAGS nicely as well. So, I set this to avoid the -arch x86_64 flag, otherwise compilation fails. -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by mmoll@…): But this means that you *HAVE* to enable a Fortran variant for the mpich2 variant to compile. This is not the right solution. Your patch also enables unsupported combinations of extensions (C++ with parallel HDF5). Have you checked if "make check" still passes? -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by eborisch@…): Here's a (very modified) Portfile that I worked on this weekend. It supports lots of combinations (including "unsupported" versions - which the user is warned about) It also takes the approach that a +gccXX variant means "compile C/CXX/Fortran variants (as enabled) with gccNN package compilers." (NOT just Fortran.) -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: hdf5-18 --------------------------------------+------------------------------------- Comment(by mmoll@…): This looks good except for a missing conflict between the openmpi and mpich2 variant. You can commit this, if you like. -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35457: mpich2 variant for hdf5-18 ---------------------------------------+------------------------------------ Reporter: ryusuke.numata@… | Owner: eborisch@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: hdf5-18 | ---------------------------------------+------------------------------------ Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: mpich2 variant (and other changes) available in r97394. -- Ticket URL: <https://trac.macports.org/ticket/35457#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts