[Ipopt] Build Errors with HSL and Intel Compilers

Breannan Smith smith at cs.columbia.edu
Wed Feb 5 11:05:01 EST 2014

Dear Ipopt Community,

Has anyone managed to build recent versions of Ipopt with HSL and the Intel
toolchain? With ICC version 14.0.1 20131010, Ipopt version 3.11.7.tgz, and
 HSL Ipopt version 2014.01.10, I obtain the following error at build time:

/bin/sh ./../../libtool --mode=compile ifort  -O   -openmp -c -o
hsl_ma97d.lo `test -f 'coinhsl/hsl_ma97/hsl_ma97d.f90' || echo
 ifort -O -openmp -c ../../../ThirdParty/HSL/coinhsl/hsl_ma97/hsl_ma97d.f90
 -fno-common -o .libs/hsl_ma97d.o
../../../ThirdParty/HSL/coinhsl/hsl_ma97/hsl_ma97d.f90(2990): error #5082:
Syntax error, found 'ALLOC' when expecting one of: <IDENTIFIER>
!$OMP    SHARED(abort, alloc, buf, child_list, child_ptr, control, invp,

The build seems to work fine with the GCC toolchain version 4.8. I am
configuring with the following:

../configure CXX=icpc CC=icc F77=ifort ADD_CFLAGS=-openmp
ADD_FFLAGS=-openmp ADD_CXXFLAGS=-openmp --with-blas="-L$MKLROOT/lib/intel64
-lmkl_intel_lp64 -lmkl_sequential -lmkl_core" --prefix=$IPOPT_DIR

Thank you for the advice!

Best regards,
Breannan Smith
smith at cs.columbia.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140205/80612743/attachment.html>

More information about the Ipopt mailing list