Hi, Stefan<br>Test passed!<br>many thanks for your help!<br><br>Min<br><br><br><div class="gmail_quote">On 24 August 2011 17:58, Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
seems like you did not provide the source for a linear solver:<br>
<a href="http://www.coin-or.org/Ipopt/documentation/node14.html" target="_blank">http://www.coin-or.org/Ipopt/<u></u>documentation/node14.html</a><br>
<br>
Easiest may be to get MUMPS via the get.MUMPS script in ThirdParty/Mumps, then configure again, make, make test.<br>
<br>
Stefan<br>
<br>
Am <a href="tel:24.08.2011%2017" value="+12408201117" target="_blank">24.08.2011 17</a>:26, schrieb Chen Min:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hello Stefen,<br>
Thanks for your quick reply.<br>
It seems it works now. After "make install", no error messages:<br>
<br>
make[4]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make[1]: Entering directory '/home/Ipopt-3.10.0'<br>
make[2]: Entering directory '/home/Ipopt-3.10.0'<br>
make[2]: Nothing to be done for 'install.exec-am'<br>
make[2]: Nothing to be done for 'install.data-am'<br>
make[2]: Leaving directory'/home/Ipopt-3.10.0'<br>
make[1]: Leaving directory'/home/Ipopt-3.10.0'<br>
<br>
<br>
*However, it failed to "make test": *<br>
<br>
<br>
<br>
Running unitTests...<br>
<br>
Testing AMPL Solver Executable...<br>
<br>
---- 8< ---- Start of test program output ---- 8< ----<br>
<br>
==> Warning: Treating 1 binary and 1 integer variables as continous.<br>
<br>
Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br>
Exception message: Selected linear solver MA27 not available.<br>
Tried to obtain MA27 from shared library "libhsl.dll", but the following<br>
error o<br>
ccured:<br>
Windows error while loading dynamic library libhsl.dll<br>
<br>
EXIT: Invalid option encountered.<br>
---- 8< ---- End of test program output ---- 8< ----<br>
<br>
******** Test FAILED! ********<br>
Output of the test program is above.<br>
Testing C++ Example...<br>
<br>
---- 8< ---- Start of test program output ---- 8< ----<br>
Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br>
Exception message: Selected linear solver MA27 not available.<br>
Tried to obtain MA27 from shared library "libhsl.dll", but the following<br>
error o<br>
ccured:<br>
Windows error while loading dynamic library libhsl.dll<br>
<br>
EXIT: Invalid option encountered.<br>
<br>
<br>
*** The problem FAILED!<br>
---- 8< ---- End of test program output ---- 8< ----<br>
<br>
******** Test FAILED! ********<br>
Output of the test program is above.<br>
Testing C Example...<br>
./run_unitTests: line 69: 4148 Aborted (core dumped)<br>
./hs071_c<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tmpfile 2>&1<br>
</blockquote>
<br>
---- 8< ---- Start of test program output ---- 8< ----<br>
---- 8< ---- End of test program output ---- 8< ----<br>
<br>
******** Test FAILED! ********<br>
Output of the test program is above.<br>
Testing Fortran Example...<br>
<br>
---- 8< ---- Start of test program output ---- 8< ----<br>
Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br>
Exception message: Selected linear solver MA27 not available.<br>
Tried to obtain MA27 from shared library "libhsl.dll", but the following<br>
error o<br>
ccured:<br>
Windows error while loading dynamic library libhsl.dll<br>
<br>
EXIT: Invalid option encountered.<br>
<br>
An error occoured.<br>
The error code is -12<br>
<br>
---- 8< ---- End of test program output ---- 8< ----<br>
<br>
******** Test FAILED! ********<br>
Output of the test program is above.<br>
make[2]: *** [test] Error 255<br>
make[2]: Leaving directory `/home/Ipopt-3.10.0/Ipopt/<u></u>test'<br>
make[1]: *** [unitTest] Error 2<br>
make[1]: Leaving directory `/home/Ipopt-3.10.0/Ipopt'<br>
make: *** [test] Error 2<br>
<br>
<br>
<br>
Thanks,<br>
Min<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 24 August 2011 16:50, Stefan Vigerske<<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-<u></u>berlin.de</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi,<br>
<br>
<br>
There're new errors after I "make test or install":<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Making install in TMatrices<br>
make[3]: Entering directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>**<br>
LinAlg/Tmatrices'<br>
.deps/IpGenTmatrix.Plo.1:*** multiple target patterns. stop.<br>
<br>
</blockquote>
<br>
That's a popular bug in cygwin's make:<br>
<a href="https://projects.coin-or.org/**BuildTools/wiki/current-**" target="_blank">https://projects.coin-or.org/*<u></u>*BuildTools/wiki/current-**</a><br></div></div>
issues#Compilation<<a href="https://projects.coin-or.org/BuildTools/wiki/current-issues#Compilation" target="_blank">https://<u></u>projects.coin-or.org/<u></u>BuildTools/wiki/current-<u></u>issues#Compilation</a>><div class="im">
<br>
<br>
Stefan<br>
<br>
make[3]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>**<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
LinAlg/TMatrices'<br>
make[2]:***[install-recursive] Error 1<br>
make[2]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>**LinAlg'<br>
make[1]:***[install-recursive] Error 1<br>
make[1]:Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make:***[install-recursive] Error 1<br>
<br>
<br>
Thanks!<br>
<br>
Min<br>
<br>
<br></div>
On 24 August 2011 16:18, Stefan Vigerske<stefan@math.hu-**<a href="http://berlin.de" target="_blank">berl<u></u>in.de</a><<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a><u></u>>><div>
<div></div><div class="h5"><br>
wrote:<br>
<br>
Hi,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
try adding<br>
#include<cstdio><br>
somewhere at the top of Ipopt/src/Common/IpJournalist.<u></u>****hpp.<br>
<br>
Which compiler you use? (gcc --version)<br>
<br>
Stefan<br>
<br>
dear all,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i installed ipopt3.10.0 under cygwin.<br>
After configuration, i got " Main configuration of Ipopt successful".<br>
(config.log, please see the attachment)<br>
However, it failed to "make install" or "make test". The error<br>
information<br>
is shown as in the following:<br>
<br>
IpJournalist.hpp:424:5:error: 'FILE' does not name a type"<br>
make[3]: ***[IpDebug.lo] Error 1<br>
make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>****Common'<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>****Common'<br>
make[1]: ***[all-recursive] Error 1<br>
make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make: ***[all-recursive] Error 1<br>
<br>
<br>
I appreciate your help, thanks in advance!<br>
<br>
Min<br>
<br>
ps:<br>
under WIN7-64 bit system<br>
<br>
<br>
<br>
<br>
______________________________<u></u>****_________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/****mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/****<u></u>mailman/listinfo/ipopt</a><<a href="http://list.coin-or.org/**mailman/listinfo/ipopt" target="_blank">http://<u></u>list.coin-or.org/**mailman/<u></u>listinfo/ipopt</a>><br>
<http://**<a href="http://list.coin-or.org/mailman/**listinfo/ipopt" target="_blank">list.coin-or.org/<u></u>mailman/**listinfo/ipopt</a><<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http:<u></u>//list.coin-or.org/mailman/<u></u>listinfo/ipopt</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote></div><br>