Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] testing if Fortran compiler likes the C++ exception flags
From: Eugene Loh (eugene.loh_at_[hidden])
Date: 2012-04-20 22:01:17


I think this is related to the "Fortran merge."

Last night, Oracle MTT tests couldn't build the trunk (r26307) with
Intel compilers. Specifically, configure fails with

     checking to see if Fortran compiler likes the C++ exception flags... no
     configure: WARNING: C++ exception flags are different between the C
and Fortran compilers; this
     configure script cannot currently handle this scenario. Either
disable C++ exception support or send mail to the Open MPI users list.
     configure: error: *** Cannot continue

Looking in the config.log file, I see this:

     configure:30518: checking to see if Fortran compiler likes the C++
exception flags
     configure:30538: icc -c -O3 -DNDEBUG -Wall -static-intel -m32
-finline-functions -fno-strict-aliasing -restrict -fexceptions
conftest.c >&5
     conftest.c(223): error: identifier "INTEGER" is undefined
      INTEGER I
      ^

Looks like the test is failing because configure is trying to compile
Fortran source code in a *.c file with the C compiler.