[Ipopt-tickets] [Ipopt] #304: Ipopt source code compliation error.

Ipopt coin-trac at coin-or.org
Fri Apr 13 14:13:32 EDT 2018


#304: Ipopt source code compliation error.
--------------------------+------------------------
Reporter:  naresh_dv      |      Owner:  ipopt-team
    Type:  clarification  |     Status:  new
Priority:  normal         |  Component:  Ipopt
 Version:  3.12           |   Severity:  normal
Keywords:                 |
--------------------------+------------------------
 Hi,
 As per your suggestion,I tried to compile the Ipopt source
 code(Ipopt-3.12.3.tgz),However is giving below error when executing the
 ../configure command.
 Could you please help on this issue?
 Iam attaching config.log for reference.

 Error details from Linux terminal.

 checking for frt... no
 checking for af77... no
 checking for xlf_r... no
 configure: WARNING: Failed to find a Fortran compiler!
 configure: Fortran compiler options are:
 checking how to get verbose linking output from unavailable... configure:
 WARNIN
 G: compilation failed

 checking for Fortran libraries of unavailable...
 checking for dummy main to link with Fortran libraries... none
 checking for Fortran name-mangling scheme... configure: error: cannot
 compile a
 simple Fortran program
 See `config.log' for more details.
 configure: error: /bin/sh '../../../ThirdParty/Blas/configure' failed for
 ThirdP
 arty/Blas
 [vuedev at dayrhetibq064 build]$ gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
 Target: x86_64-redhat-linux
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
 --infodir=/usr/share/info --with-
 bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-
 shared --enable-threads=posix --enable-checking=release --with-system-zlib
 --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-
 object --enable-linker-build-id --with-linker-hash-style=gnu --enable-
 languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
 --enable-initfini-array --disable-libgcj --with-
 isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-
 install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64
 -redhat-linux/cloog-install --enable-gnu-indirect-function --with-
 tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
 Thread model: posix
 gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
 [vuedev at dayrhetibq064 build]$ gfortran -v
 -bash: gfortran: command not found
 [vuedev at dayrhetibq064 build]$ configure: WARNING: Failed to find a Fortran
 compiler!
 -bash: configure:: command not found


 Regards
 Naresh

--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/304>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list