<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, &nbsp;this worked and as Stefan suggested the config.log did suggest that the problem was mismatched compilers,&nbsp;<div>in any case I now have a 32 bit version for which make approves of. &nbsp;Thanks to all for the help!!</div><div><br></div><div><br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Roger Koenker</div><div><a href="mailto:rkoenker@illinois.edu">rkoenker@illinois.edu</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jan 25, 2011, at 10:13 AM, Rodrigo Lopez-Negrete wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,&nbsp;<div><br></div><div>I've been using Ipopt on my Macbook for some time now, and I've been able to compile using the following configure setup</div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; "><pre class="wiki" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); margin-top: 1em; margin-right: 1.75em; margin-bottom: 1em; margin-left: 1.75em; padding-top: 0.25em; padding-right: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">
$../configure -C  CC="gcc -m32" CXX="g++ -m32" F77="gfortran -m32" \
      ADD_CXXFLAGS="-mmacosx-version-min=10.5 -fno-common -fexceptions -fPIC" \
      ADD_CFLAGS="-mmacosx-version-min=10.5 -fno-common -fexceptions -fPIC" \
      ADD_FFLAGS="-mmacosx-version-min=10.5 -fPIC -fno-common" \
      LDFLAGS="-flat_namespace"</pre></span><div><br></div><div>Note also that I'm using the compilers from <a href="http://hpc.sourceforge.net/">http://hpc.sourceforge.net/</a>. I use 32 bit architecture since I remember having some problems using 64 bits a long time ago. Hopefully, this will work on your system too.</div>

<div><br></div><div>Best,</div><div>&nbsp;Rodrigo</div><br><div class="gmail_quote">On Tue, Jan 25, 2011 at 11:05 AM, Stefan Vigerske <span dir="ltr">&lt;<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
&gt;&gt; it seems as if the Fortran name-mangling scheme is not recognized by<br>
&gt;&gt; configure, otherwise F77_FUNC should be defined.<br>
&gt;&gt; There should be a line like<br>
&gt;&gt;<br>
&gt;&gt; checking for Fortran name-mangling scheme... lower case, underscore, no<br>
&gt;&gt; extra underscore<br>
&gt;&gt;<br>
&gt;&gt; in the output of configure.<br>
&gt;&gt; Which Fortran compiler do you use?<br>
&gt;<br>
&gt; yzzy: gfortran --version<br>
&gt; GNU Fortran (GCC) 4.2.3<br>
<br>
And you also use Gnu C and C++ compiler of the same version?<br>
<br>
&gt;&gt; Is it recognized correctly by configure?<br>
&gt;<br>
&gt; Yes, seems to be....<br>
&gt;<br>
&gt;&gt; What is the output of configure in the Ipopt directory?<br>
&gt;<br>
&gt; Ah, yes, this is a problem -- I wasn't looking in the right place for the config.log<br>
&gt; in Ipopt it says:<br>
&gt;<br>
&gt; configure:5733: result: unknown<br>
&gt; configure:5828: WARNING: unknown Fortran name-mangling scheme<br>
<br>
Then you should look into Ipopt/config.log where it tries out different<br>
name-mangling schemes and check why they are all failing, one of them<br>
should work. There may be an error message that gives some hint.<br>
<br>
&gt;<br>
&gt; I tried again with:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;../configure ADD_FFLAGS="-mmacosx-version-min=10.4" FFLAGS="-arch=x86_64"<br>
&gt;<br>
&gt; but got...<br>
&gt;<br>
&gt;<br>
&gt; configure:4904: gfortran -o conftest -arch=x86_64 -mmacosx-version-min=10.4 &nbsp;conftest.f &nbsp;&gt;&amp;5<br>
&gt; f951: error: unrecognized command line option "-arch=x86_64"<br>
&gt; configure:4910: $? = 1<br>
&gt; configure: failed program was:<br>
&gt; | &nbsp; &nbsp; &nbsp; program main<br>
&gt; | &nbsp; &nbsp; &nbsp; integer i<br>
&gt; | &nbsp; &nbsp; &nbsp; end<br>
&gt; configure:4935: WARNING: The flags FFLAGS="" do not work. &nbsp;I will now just try '-O', but you might want to set FFLAGS manually.<br>
&gt;<br>
&gt; Where and how might this manual setting be done?<br>
<br>
This is what you did with FFLAGS above.<br>
<br>
Stefan<br>
<br>
&gt; Many thanks for the responses<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Stefan<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Am 25.01.2011 15:35, schrieb Roger Koenker:<br>
<div class="im">&gt;&gt;&gt; I'm new to Ipopt, and trying to install 3.9.2 on a macpro 10.6.6. &nbsp;Using the recommended<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;../configure ADD_FFLAGS="-mmacosx-version-min=10.4"<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; configuration ends normally, but make produces lots of messages like this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ../../../../Ipopt/src/LinAlg/IpBlas.cpp: In function 'void Ipopt::IpBlasDtrsm(bool, Ipopt::Index, Ipopt::Index, Ipopt::Number, const Ipopt::Number*, Ipopt::Index, Ipopt::Number*, Ipopt::Index)':<br>
&gt;&gt;&gt; ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'dtrsm' was not declared in this scope<br>
&gt;&gt;&gt; ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'DTRSM' was not declared in this scope<br>
&gt;&gt;&gt; ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'F77_FUNC' cannot be used as a function<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I don't see any WARNINGS in the config.log file as reported in:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp; <a href="http://negfeedback.blogspot.com/2009_12_01_archive.html" target="_blank">http://negfeedback.blogspot.com/2009_12_01_archive.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any suggestions would be much appreciated.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Roger Koenker<br>
&gt;&gt;&gt; <a href="mailto:rkoenker@illinois.edu">rkoenker@illinois.edu</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Ipopt mailing list<br>
&gt;&gt;&gt; <a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
&gt;&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div>&gt;&gt; --<br>
&gt;&gt; Stefan Vigerske<br>
&gt;&gt; Humboldt University Berlin, Numerical Mathematics<br>
&gt;&gt; <a href="http://www.math.hu-berlin.de/~stefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br>
<div class="im">&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Ipopt mailing list<br>
&gt;&gt; <a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
&gt;<br>
<br>
<br>
</div><font color="#888888">--<br>
Stefan Vigerske<br>
Humboldt University Berlin, Numerical Mathematics<br>
<a href="http://www.math.hu-berlin.de/~stefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:Arial, Helvetica, sans-serif;font-size:14.1667px;border-collapse:collapse;color:rgb(51, 51, 51)"><img src="http://www.cs.cmu.edu/~aml/logos/wordmark.jpg" width="200" height="24"><br>

<strong><span><font color="#000000"><span style="background-color:rgb(255, 255, 255)">Rodrigo</span></font></span><font color="#000000"><span style="background-color:rgb(255, 255, 255)">&nbsp;López-</span></font><span><font color="#000000"><span style="background-color:rgb(255, 255, 255)">Negrete</span></font></span><font color="#000000"><span style="background-color:rgb(255, 255, 255)">&nbsp;de la Fuente</span></font></strong><font color="#000000"><span style="background-color:rgb(255, 255, 255)"><br>

</span></font>Doctoral Candidate&nbsp;<br>Email:&nbsp;<a href="mailto:rln@cmu.edu" style="color:rgb(7, 77, 143)" target="_blank"><span>rln@cmu.edu</span></a><div><span style="color:rgb(34, 34, 34)"><span style="background-color:rgb(255, 255, 255)">WWW</span></span><span style="background-color:rgb(255, 255, 255)">: <a href="http://rodrigo.lopez-negrete.org/" target="_blank">http://rodrigo.lopez-negrete.org</a></span><span style="background-color:rgb(255, 255, 255)"><br>

</span><br>Department of Chemical Engineering<br>Carnegie Mellon University&nbsp;<br>5000 Forbes Ave.&nbsp;<br>Pittsburgh, PA 15213-3890<br>USA</div></span><br>
</div>
</blockquote></div><br></div></div></body></html>