[Ipopt] Re problem with MUMPS and Intel Fortran
Andreas Waechter
andreasw at watson.ibm.com
Wed Jul 1 10:24:37 EDT 2009
Did you try to use the '-fpp' flag for hte compiler? it seems that your
configure run did not select the correct Fortran compiler options
(actually, your output shows none). Usually, when you specify F77=ifort
on Cygwin or MinGW, the configure script would pick -MT -O3 -fpp -nologo
as options, but it seems that something goes wrong there. You might want
to set FFLAGS for F77=ifort by hand.
On Wed, 1 Jul 2009, Krish Krishnan wrote:
> Hi Ali and others:
>
> I am providing the warnings and errors from the compilation. Please bear with me as it is a bit long
>
> ******************************************START OUTPUT**************************************
> Making all in ThirdParty/Blas
> make[1]: Entering directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Blas'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Blas'
> Making all in ThirdParty/Lapack
> make[1]: Entering directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Lapack'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Lapack'
> Making all in ThirdParty/Metis
> make[1]: Entering directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Metis'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Metis'
> Making all in ThirdParty/Mumps
> make[1]: Entering directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Mumps'
> /bin/sh ./../../libtool --tag=F77 --mode=compile ifort -I. -I`cygpath -w .` -I`cygpath -w ./MUMPS/src` -I`cygpath -w ./MUMPS/libseq` -I`cygpath -w ./MUMPS/include` -Dmetis -c -o dmumps_comm_buffer.lo `test -f 'MUMPS/src/dmumps_comm_buffer.F' || echo './'`MUMPS/src/dmumps_comm_buffer.F
> ifort -I. -I. -IMUMPS\\src -IMUMPS\\libseq -IMUMPS\\include -Dmetis -c MUMPS\\src\\dmumps_comm_buffer.F
> Intel(R) Visual Fortran Compiler Professional for applications running on Intel(R) 64, Version 11.0 Build 20081105 Package ID: w_cprof_p_11.0.066
> Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
>
> MUMPS\src\dmumps_comm_buffer.F(1077): warning #5117: Bad # preprocessor line
> #if ! defined(DBG_SMB3)
> -^
> MUMPS\src\dmumps_comm_buffer.F(1086): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(1761): warning #5117: Bad # preprocessor line
> #if ! defined(DBG_SMB3)
> -^
> MUMPS\src\dmumps_comm_buffer.F(1769): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2088): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2090): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2094): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2096): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2111): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2118): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2177): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2179): warning #5117: Bad # preprocessor line
> #else
> -^
> MUMPS\src\dmumps_comm_buffer.F(2181): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2202): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2204): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2216): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2218): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2229): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2236): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2279): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2281): warning #5117: Bad # preprocessor line
> #else
> -^
> MUMPS\src\dmumps_comm_buffer.F(2283): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2438): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2440): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2450): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2452): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2465): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2472): warning #5117: Bad # preprocessor line
> #else
> -^
> MUMPS\src\dmumps_comm_buffer.F(2474): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2534): warning #5117: Bad # preprocessor line
> #if ! defined(OLD_LOAD_MECHANISM)
> -^
> MUMPS\src\dmumps_comm_buffer.F(2536): warning #5117: Bad # preprocessor line
> #else
> -^
> MUMPS\src\dmumps_comm_buffer.F(2538): warning #5117: Bad # preprocessor line
> #endif
> -^
> MUMPS\src\dmumps_comm_buffer.F(2189): error #6099: An ENDDO statement occurred without a corresponding DO or DO WHILE statement.
> END DO
> ^
> MUMPS\src\dmumps_comm_buffer.F(2178): error #6321: An unterminated block exists.
> IF ( I .NE. MYID .AND. FUTURE_NIV2(I+1) .NE. 0) THEN
> ^
> MUMPS\src\dmumps_comm_buffer.F(2176): error #6321: An unterminated block exists.
> DO I = 0, NPROCS - 1
> ^
> MUMPS\src\dmumps_comm_buffer.F(2291): error #6099: An ENDDO statement occurred without a corresponding DO or DO WHILE statement.
> END DO
> ^
> MUMPS\src\dmumps_comm_buffer.F(2280): error #6321: An unterminated block exists.
> IF ( I .NE. MYID .AND. FUTURE_NIV2(I+1) .NE. 0) THEN
> ^
> MUMPS\src\dmumps_comm_buffer.F(2278): error #6321: An unterminated block exists.
> DO I = 0, NPROCS - 1
> ^
> MUMPS\src\dmumps_comm_buffer.F(2546): error #6099: An ENDDO statement occurred without a corresponding DO or DO WHILE statement.
> END DO
> ^
> MUMPS\src\dmumps_comm_buffer.F(2535): error #6321: An unterminated block exists.
> IF ( I .NE. MYID .AND. FUTURE_NIV2(I+1) .NE. 0) THEN
> ^
> MUMPS\src\dmumps_comm_buffer.F(2533): error #6321: An unterminated block exists.
> DO I = 0, NPROCS - 1
> ^
> compilation aborted for MUMPS\src\dmumps_comm_buffer.F (code 1)
> make[1]: *** [dmumps_comm_buffer.lo] Error 1
> make[1]: Leaving directory `/cygdrive/d/Ipopt-3.6.1_VC/ThirdParty/Mumps'
> make: *** [all-recursive] Error 1
> ******************************END OUTPUT*****************************************************************
>
> I thought the Mumps files may have been corrupted and downloaded them again. The results were the same.
>
> Thanks
> Krish
>
>
>
>
More information about the Ipopt
mailing list