Re: [OMPI devel] testing if Fortran compiler likes the C++ exception flags

2012-04-21 Thread Jeffrey Squyres
Oops!  Sorry about that -- fixed in r26309.

On Apr 20, 2012, at 10:01 PM, Eugene Loh wrote:

> 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.
> ___
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/




[OMPI devel] testing if Fortran compiler likes the C++ exception flags

2012-04-20 Thread Eugene Loh

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.