[Coin-ipopt] intel/gnu compiler conflict

Scott Turnberg sturnber at andrew.cmu.edu
Wed Mar 14 16:19:46 EDT 2007


Hi,
I just built Ipopt on linux and got the error below.  My machine has 
both intel and gnu compilers.  During the build the gnu compilers were 
used for compiling the C++ object files and linking.  The intel 
compilers were used for building the C and fortran object files in ASL 
and HSL.  I'm pretty sure this is not correct and is leading to the 
error.  I reconfigured Ipopt and explicitly told it to use the gnu 
compilers for everything and was able to successfully build it. 
The problem appears to be in BuildTools/coin.m4.  When calling 
AC_PROG_CXX/CC/F77 you are giving different priorities to the intel 
versus gnu compilers in each case.
Hope this helps,
Scott




g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit 
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith 
-Wwrite-strings -Wconversion -o .libs/ipopt ampl_ipopt.o  
./.libs/libamplinterface.a ../../Interfaces/.libs/libipopt.so 
/home/sturnber/src/Ipopt/LINUX_w_MUMPS_SER/ThirdParty/ASL/amplsolver.a 
-ldl -L/home/sturnber/src/MUMPS_4.6.1/serial/lib -ldmumps -lpord 
-L/home/sturnber/src/MUMPS_4.6.1/serial/libseq -lmpiseq -lpthread 
-llapack -lblas -L/usr/lib/gcc/i386-redhat-linux/4.1.0 
-L/usr/lib/gcc/i386-redhat-linux/4.1.0/../../.. -lgfortranbegin 
-lgfortran -lm -lgcc_s -Wl,--rpath 
-Wl,/home/sturnber/src/Ipopt/LINUX_w_MUMPS_SER/lib
/home/sturnber/src/Ipopt/LINUX_w_MUMPS_SER/ThirdParty/ASL/amplsolver.a(misc.o): 
In function `ASL_alloc':misc.c:(.text+0x9a6): undefined reference to 
`_intel_fast_memset'
/home/sturnber/src/Ipopt/LINUX_w_MUMPS_SER/ThirdParty/ASL/amplsolver.a(misc.o): 
In function `Suf_read_ASL':misc.c:(.text+0xbad): undefined reference to 
`_intel_fast_memset'
:misc.c:(.text+0xbec): undefined reference to `_intel_fast_memset'




More information about the Coin-ipopt mailing list