[MacPorts] #34370: fftw-3 fails to build with mpich2
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: fftw-3 --------------------------------------+------------------------------------- fftw-3 fails to build with +gcc45 and +mpich2 because the -arch flag is passed to macports-gcc. This is similar to Ticket #34290, and the same solution can be applied (r92596). -- Ticket URL: <https://trac.macports.org/ticket/34370> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: fftw-3 --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: ram (removed) * owner: macports-tickets@… => ram@… Comment: The Cc field needs complete email addresses. Wouldn't a better solution be to make the compiler that the mpich2 port installs respect the CC environment variable? Then it could be fixed in the mpich2 port, at the source, instead of having to be fixed in every port that uses mpich2. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: fftw-3 --------------------------------------+------------------------------------- Changes (by ram@…): * cc: eborisch@… (added) Comment: Ryan's idea sounds like a better solution to me, it's better to fix the problems and not the symptoms. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: fftw-3 --------------------------------------+------------------------------------- Changes (by ram@…): * cc: takeshi@… (added) -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Changes (by jmr@…): * port: fftw-3 => mpich2 fftw-3 -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Changes (by ram@…): * cc: eborisch@… (removed) * cc: ram@… (added) * owner: ram@… => eborisch@… -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Comment(by eborisch@…): In general, mpich2 is configured/built to use a particular compiler (mpicc and mpicxx are wrappers around the desired compiler) ... other compilers may be used so long as the requirements listed [http://wiki.mcs.anl.gov/mpich2/index.php/Frequently_Asked_Questions#Q:_Do_I_... here] are met. Other compilers (meeting these requirements) to be wrapped can be specified for mpicc and mpicxx by setting the environment variables MPICH_CC and MPICH_CXX, respectively. (MPICH_F90 as well for mpif90) I'm not going to change MPICH2 to 'respect' CC, as for many MPI project builds, CC=mpicc. This discusion is also relevant: [http://lists.macosforge.org/pipermail /macports-dev/2012-August/020012.html] If mpich2 is built +gcc45, and fftw's +gcc45 variant meant "please use gcc-mp-45 for all your compilation needs" and not "just for fortran", the build would succeed (I believe) as the flags would be gcc45 "appropriate." -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Changes (by eborisch@…): * owner: eborisch@… => ram@… -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Changes (by eborisch@…): * cc: ram@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Comment(by ram@…): Replying to [comment:6 eborisch@…]:
If mpich2 is built +gcc45, and fftw's +gcc45 variant meant "please use gcc-mp-45 for all your compilation needs" and not "just for fortran", the build would succeed (I believe) as the flags would be gcc45 "appropriate."
There was a ticket requesting this, I provided a patch and asked for feedback but the OP was silent. Maybe it's time to revisit. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Comment(by ram@…): In r97612 the `fftw-3` port was modified so that the entire gcc toolchain is used for the gcc variants and not just for the fortran components. Does this help? -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Comment(by eborisch@…): It works, with the attached modifications (typos and some additional include conflicts to weed out in -long and -single.) Also changed mpich2 dep to a path-style dependency so mpich2-devel can satisfy. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 --------------------------------------+------------------------------------- Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: mpich2 fftw-3 --------------------------------------+------------------------------------- Comment(by ram@…): Looks good, I should be able to get round to committing this tonight. Feel free to commit it yourself if you have the time. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34370: fftw-3 fails to build with mpich2 ---------------------------------------+------------------------------------ Reporter: ryusuke.numata@… | Owner: ram@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: mpich2 fftw-3 | ---------------------------------------+------------------------------------ Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: Done in r97639 (typos) and r97642. Closing. -- Ticket URL: <https://trac.macports.org/ticket/34370#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts