<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Hi Guys,</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>We’re using the excellent C++
version of ipopt (3.0.0) which requires us to now code our own quasi-Newton
scheme. We’re noticing different behavior for various combinations
of BFGS and SR1 for our particular small problem set so we wanted a more
objective analysis. We decided to test our implementation on the CUTEr
set, since this interface seems to be supported with the ipopt
distribution. But we’re having some problems with
ipopt-3.0.0/Apps/CUTErInterface. First, we installed SIF and CUTEr and
tested it with ‘sdgen KISSING2’, which works as expected. Then
we installed ipopt with a pretty standard configuration, and tested the library
libipopt.a on several example problems. Then, in
ipopt-3.0.0/Apps/CUTErInterface (we’ve already built ipopt), we:</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>> make (seems to work)</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>if test -z "$MYCUTER" -o -z "$CUTER";
then \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> touch ipoma.f; \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>else \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> sed "/#{sizing}/r $MYCUTER/double/config/tools.siz"
CUTErInterface.f | sed -f $MYCUTER/double/config/cast.sed > ipoma.f; \fi</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=IT
style='font-size:10.0pt;font-family:Arial;color:blue'>.../gcc/3.1/bin/g++
-c -o ipoma.o ipoma.f</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>rm -f libdummy.a</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>ar crv libdummy.a ipoma.o</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>a - ipoma.o</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>ranlib libdummy.a</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>> make cuter (seems to work)</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>sed -f $MYCUTER/double/config/script.sed
ipo.pro > ipo</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>chmod a+x ipo</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>sed -f $MYCUTER/double/config/script.sed
sdipo.pro > sdipo</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>chmod a+x sdipo</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>if test -z "$MYCUTER" -o -z "$CUTER";
then \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> echo CUTEr environment variables
not set - cannot install ipoma.f; \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>else \</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> echo "-L…/ipopt-3.0.0/install/lib
-lipopt -lg2c" >$MYCUTER/double/lib/ipo.liblist ;\</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> cp ipoma.o …/CUTEr.large.pc.lnx.g77/double/bin/ipoma.o;
\</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> cp ipo …/CUTEr.large.pc.lnx.g77/bin/ipo
;\</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> cp sdipo …/CUTEr.large.pc.lnx.g77/bin/sdipo
;\</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>fi</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>> ./sdipo KISSING2 </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> Problem name: KISSING2</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> Double precision version will be
formed.</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> The objective function
uses 1 nonlinear group</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> There
are 625 nonlinear inequality constraints</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> There
are 94 free variables</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> There
are 6 fixed variables</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>.../CUTEr.large.pc.lnx.g77/double/bin/linpac.o:
In function `dcopy_':.../CUTEr.large.pc.lnx.g77/double/bin/linpac.o(.text+0x0):
multiple definition of `dcopy_'</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>.../ipopt-3.0.0/install/lib/libipopt.a(dcopy.o)(.text+0x0):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>/usr/bin/ld: Warning: size of symbol `dcopy_'
changed from 618 to 373 in .../CUTEr.large.pc.lnx.g77/double/bin/linpac.o</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>.../CUTEr.large.pc.lnx.g77/double/bin/linpac.o:
In function `ddot_':</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>.../CUTEr.large.pc.lnx.g77/double/bin/linpac.o(.text+0x178):
multiple definition of `ddot_'</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>.../ipopt-3.0.0/install/lib/libipopt.a(ddot.o)(.text+0x0):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>/usr/bin/ld: Warning: size of symbol `ddot_'
changed from 605 to 312 in .../CUTEr.large.pc.lnx.g77/double/bin/linpac.o</span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>And so on. Seems there might be
some doubly defined BLAS symbols in libpac.o and libipopt.a? Have you
guys run into this problem before, or are we doing something wrong?</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font></p>
<p class=MsoAutoSig><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>--Ivan.</span></font></p>
<p class=MsoAutoSig><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> </span></font></p>
<p class=MsoAutoSig><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;color:black'>----------------------------</span></font></p>
<p class=MsoAutoSig><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;color:black'>Ivan B. Oliveira</span></font></p>
<p class=MsoAutoSig><font size=2 color=black face=Courier><span lang=PT-BR
style='font-size:10.0pt;font-family:Courier;color:black'>SC12-205</span></font></p>
<p class=MsoAutoSig><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;color:black'>(408)765-0584</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>