<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Breannan,<br>
<br>
This is a bit of a funny bug. I've just replicated it with<br>
ifort (IFORT) 14.0.0 20130728<br>
<br>
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 workaround.<br>
<br>
Regards,<br>
<br>
Jonathan.<br>
<br>
On 05/02/14 16:05, Breannan Smith wrote:<br>
</div>
<blockquote
cite="mid:CAJd=gO5BHQ28DXWOc7mUMDv7eLf74xu2u-0h_9Lunj407oADcQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Dear Ipopt Community,<br>
<br>
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:<br>
<br>
/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<br>
ifort -O -openmp -c
../../../ThirdParty/HSL/coinhsl/hsl_ma97/hsl_ma97d.f90
-fno-common -o .libs/hsl_ma97d.o<br>
../../../ThirdParty/HSL/coinhsl/hsl_ma97/hsl_ma97d.f90(2990):
error #5082: Syntax error, found 'ALLOC' when expecting one of:
<IDENTIFIER> <CHAR_CON_KIND_PARAM>
<CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> /<br>
!$OMP SHARED(abort, alloc, buf, child_list, child_ptr,
control, invp, &<br>
-----------------------^
<div><br>
</div>
<div>The build seems to work fine with the GCC toolchain version
4.8. I am configuring with the following:</div>
<div><br>
</div>
<div>../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<br>
</div>
<div><br>
</div>
<div>Thank you for the advice!</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Breannan Smith</div>
<div><a moz-do-not-send="true"
href="mailto:smith@cs.columbia.edu">smith@cs.columbia.edu</a></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
<br>
<p>--
<BR>Scanned by iCritical.
</p><br>
</body>
</html>