Thanks for the answers! You were right, Mumps has not been compiled. <br>Now I am trying to get gfortran to work following this instructions: <a href="http://gcc.gnu.org/wiki/GFortranBinariesCygwin">http://gcc.gnu.org/wiki/GFortranBinariesCygwin</a>. The command gfc --version works.<br>
But cygwin does not use gfortran, apparently I have to tell cygwin how to use gfortran?<br><br>Thanks,<br>Johannes<br><br><div class="gmail_quote">2009/6/19 Peter Carbonetto <span dir="ltr"><<a href="mailto:pcarbo@cs.ubc.ca">pcarbo@cs.ubc.ca</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Otherwise you would either need to use MA27 from HSL (if its license is<br>
> ok for you), or see if a Pardiso library for Windows works (if its<br>
> license is ok for you).<br>
> The precompiled binaries are probably not good because they do not<br>
> include the matlab interface, right?<br>
<br>
</div>It's possible to get precompiled binaries to work with the MATLAB<br>
interface, but linking to them is a little tricky. The best strategy is<br>
probably to see if you can get gfortran + Mumps to work.<br>
<font color="#888888"><br>
Peter Carbonetto<br>
Ph.D. Candidate<br>
Dept. of Computer Science<br>
University of British Columbia<br>
</font><div><div></div><div class="h5"><br>
><br>
> Stefan<br>
><br>
><br>
> Johannes Vonk wrote:<br>
> > Hi Stefan,<br>
> ><br>
> > Thanks for the answer. Sorry, I forgot to mention that I obtained the<br>
> > following third party code:<br>
> > ASL, Blas, Lapack, Metis, Mumps. Before configuring I got them by typing<br>
> > ./get.* in each directory.<br>
> ><br>
> > I attached config.log from the Mumps directory.<br>
> ><br>
> > Thanks,<br>
> > Johannes<br>
> ><br>
> ><br>
> > 2009/6/19 Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>><br>
> ><br>
> >> Hi,<br>
> >><br>
> >>> I am trying to install Ipopt under Windows Vista to use it with Matlab.<br>
> >>> First of all I got the tarball "Ipopt-3.6.0.tgz" and installed Cygwin as<br>
> >>> explained on this page "<br>
> >>> <a href="http://www.coin-or.org/Ipopt/documentation/node24.html" target="_blank">http://www.coin-or.org/Ipopt/documentation/node24.html</a>".<br>
> >> It also sais "After that you obtain the third party code".<br>
> >> From below it seems that no linear solver is available.<br>
> >> You could try to get MA27 (Fortran77), or Mumps (requires a Fortran90<br>
> >> compiler).<br>
> >> See manual.<br>
> >><br>
> >> Stefan<br>
> >><br>
> >>> Then I typed "./configure", "make" and "make install" in the bash of<br>
> >> Cygwin<br>
> >>> which all appeared to work correctly. But after typing "make test" I got<br>
> >> the<br>
> >>> following error:<br>
> >>><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 275:<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 275:<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: 3708 Segmentation fault (core dumped)<br>
> >>> ./hs071_c<br>
> >>>> tmpfile 2>&1<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 275:<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/Johannes/CoinIpopt/Ipopt/test'<br>
> >>> make[1]: *** [unitTest] Error 2<br>
> >>> make[1]: Leaving directory `/home/Johannes/CoinIpopt/Ipopt'<br>
> >>> make: *** [test] Error 2<br>
> >>><br>
> >>><br>
> >>> I hope somebody knows a solution.<br>
> >>> Thanks in advance!<br>
> >>><br>
> >>> Johannes<br>
> >>><br>
> >>><br>
> >>><br>
> >>> ------------------------------------------------------------------------<br>
> >>><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>
> >><br>
> >> --<br>
> >> Stefan Vigerske<br>
> >> Humboldt University Berlin, Numerical Mathematics<br>
> >> <a href="http://www.math.hu-berlin.de/%7Estefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><<a href="http://www.math.hu-berlin.de/%7Estefan" target="_blank">http://www.math.hu-berlin.de/%7Estefan</a>><br>
> >><br>
> ><br>
><br>
><br>
> --<br>
> Stefan Vigerske<br>
> Humboldt University Berlin, Numerical Mathematics<br>
> <a href="http://www.math.hu-berlin.de/%7Estefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br>
><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>
><br>
</div></div></blockquote></div><br>