[Ipopt] Build Errors with HSL and Intel Compilers

Jonathan Hogg jonathan.hogg at stfc.ac.uk
Wed Feb 5 11:31:42 EST 2014

Hi Breannan,

This is a bit of a funny bug. I've just replicated it with
ifort (IFORT) 14.0.0 20130728

The problem goes away if you rename alloc to alloc2. I don't know what's 
going on there. I'll send you an updated version privately and then put 
some effort into figuring out the root of the problem [currently smells 
like a compiler bug] and then put out a new version with a bug fix or 



On 05/02/14 16:05, Breannan Smith wrote:
> 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 
> '../../../ThirdParty/HSL/'`coinhsl/hsl_ma97/hsl_ma97d.f90
>  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 <mailto:smith at cs.columbia.edu>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

Scanned by iCritical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140205/b6fa23f7/attachment.html>

More information about the Ipopt mailing list