Opened 6 years ago

Last modified 6 years ago

#57119 closed defect

mpich @3.2.1 : Incompatible Fortran and C Object File Types — at Version 1

Reported by: lzkelley (Luke) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: eborisch@…, sean@…
Port: mpich

Description (last modified by lzkelley (Luke))

MacPorts 2.5.3 macOS 10.12.6

I'm trying to install mpich, and get an incompatibility error during the Configuring mpich-default step (log attached):

:info:configure checking whether Fortran 77 and C objects are compatible... no
:info:configure checking for file... file
:info:configure configure: error: ****  Incompatible Fortran and C Object File Types!  ****
:info:configure F77 Object File Type produced by "/opt/local/bin/gfortran-mp-7  -pipe -m64" is : : cannot open `' (No such file or directory).
:info:configure  C  Object File Type produced by "/usr/bin/clang  -pipe -arch x86_64  -O2" is : : Mach-O 64-bit object x86_64.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich/mpich-default/work/mpich-3.2.1-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --disable-dependency-tracking --disable-silent-rules --enable-base-cache --enable-cache --enable-cxx --enable-fast=O2 --enable-shared --enable-smpcoll --with-device=ch3:nemesis --with-pm=hydra --with-thread-package=posix --enable-versioning F90FLAGS='' F90='' --enable-timer-type=mach_absolute_time --libdir=/opt/local/lib/mpich-mp --sysconfdir=/opt/local/etc/mpich-mp --program-suffix=-mpich-mp --includedir=/opt/local/include/mpich-mp MPICHLIB_CFLAGS="$CFLAGS" CFLAGS="" MPICHLIB_CPPFLAGS="$CPPFLAGS" CPPFLAGS="" MPICHLIB_CXXFLAGS="$CXXFLAGS" CXXFLAGS="" MPICHLIB_FFLAGS="$FFLAGS" FFLAGS="" MPICHLIB_FCFLAGS="$FCFLAGS" FCFLAGS="" --enable-fortran --disable-dependency-tracking 
:info:configure Exit code: 1

Please let me know if there's any other information I can provide.

Change History (3)

Changed 6 years ago by lzkelley (Luke)

Attachment: config.log added

config file

Changed 6 years ago by lzkelley (Luke)

Attachment: main.log added

main log with error

comment:1 Changed 6 years ago by lzkelley (Luke)

Description: modified (diff)
Note: See TracTickets for help on using tickets.