[MacPorts] #22833: openmpi 1.3.4 configure error -- fortran

MacPorts noreply at macports.org
Tue Dec 8 14:59:13 PST 2009


#22833: openmpi 1.3.4 configure error -- fortran
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  mww@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  1.8.1           
 Keywords:  fortran build          |        Port:  openmpi         
-----------------------------------+----------------------------------------
 The port uses the --enable-f{77,90} options to configure, but those aren't
 supported.

 {{{
 --->  Configuring openmpi
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: configure phase started at Tue Dec  8 14:58:22 PST 2009
 DEBUG: Executing org.macports.configure (openmpi)
 DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch
 ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch ppc'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
 CXX='/usr/bin/g++-4.0'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
 /_Users_jeremy_src_macports-
 trunk_dports_science_openmpi/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2
 -m32' LDFLAGS='-L/opt/local/lib -arch ppc' FCFLAGS='-pipe -O2 -m32'
 OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' FC='/opt/local/bin
 /gfortran-mp-4.3' OBJCFLAGS='-pipe -O2 -arch ppc' FFLAGS='-pipe -O2 -m32'
 F77='/opt/local/bin/gfortran-mp-4.3' CC_PRINT_OPTIONS='YES'
 CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
 /_Users_jeremy_src_macports-trunk_dports_science_openmpi/work/build" &&
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_science_openmpi/work/openmpi-1.3.4/configure
 --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi
 --includedir=/opt/local/include/openmpi
 --bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man
 --enable-f77 --enable-f90'
 configure: WARNING: unrecognized options: --enable-f77, --enable-f90
 }}}

 Furthermore, it fails to use gfortran-mp-4.3 as F77 :
 {{{
 *** Fortran 77 compiler
 checking whether we are using the GNU Fortran 77 compiler... yes
 checking whether /opt/local/bin/gfortran-mp-4.3 accepts -g... yes
 checking if Fortran 77 compiler works... no
 **********************************************************************
 * It appears that your Fortran 77 compiler is unable to produce working
 * executables.  A simple test application failed to properly
 * execute.  Note that this is likely not a problem with Open MPI,
 * but a problem with the local compiler installation.  More
 * information (including exactly what command was given to the
 * compiler and what error resulted when the command was executed) is
 * available in the config.log file in this directory.
 **********************************************************************
 configure: error: Could not run a simple Fortran 77 program.  Aborting.
 shell command " cd "/opt/local/var/macports/build
 /_Users_jeremy_src_macports-trunk_dports_science_openmpi/work/build" &&
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_science_openmpi/work/openmpi-1.3.4/configure
 --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi
 --includedir=/opt/local/include/openmpi
 --bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man
 --enable-f77 --enable-f90 " returned error 1
 Error: Target org.macports.configure returned: configure failure: shell
 command failed
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22833>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list