[MacPorts] #34370: fftw-3 fails to build with mpich2

MacPorts noreply at macports.org
Tue Aug 21 09:36:47 PDT 2012


#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_have_to_configure.2Fmake.2Finstall_MPICH2_each_time_for_each_compiler_I_use.3F
 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


More information about the macports-tickets mailing list