<div dir="ltr">It has been something like 3-4 years years since I had this problem, so my memory is a bit hazy. Perhaps someone with more recent knowlege can chime in, but if not, I can go dig through my notes to find out the details. With that caveat:<div><br></div><div>ipopt.opt is for specifying runtime options, not compile-time settings. It allows you to, e.g. change the maximum number of iterations at runtime. You specify compile-time settings via the invocation to the compiler. To use the ma57 solver, I recall needing to download the source files from the HSL, which requires you to certify non-commerical (and perhaps only academic) use. Once you have the source file, you place it in the appropriate ThirdParty directory within the ipopt directory and compile with the appropriate flags as specified in the ipopt documentation.</div><div><br></div><div>- Seth</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 11:36 AM, max leo correa cordova <span dir="ltr"><<a href="mailto:max-leo-19@hotmail.com" target="_blank">max-leo-19@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Thanks for the hints. It seems that compiling with -lcoinmumps makes that error even when deleting the dummy mpi.h. I have only compiled with <font style="font-size:10pt" size="2"><br><br>mpic++ -o prueba MyNLP.cpp prueba.cpp -I/home/max/CoinIpopt/build/include/coin -L/home/max/CoinIpopt/build/lib -lipopt -llapack -ldl -lblas -lgfortran -lm -lquadmath -lcoinhsl -lcoinmeti</font>s<br><br> and worked, but the solution time has increased (6x). I have tried to use the ipopt.opt file to use ma57 but the solver is still using ma27. Is there any chance to use mumps or other solver to get a better performance? If so, which is the most recommendable?? How to use the ipopt.opt file (is that included in the compilation)?? I will appreciate your help.<br>Thanks in advance<span class="HOEnZb"><font color="#888888"><br>Max<br> <br> </font></span></div></div>
</blockquote></div><br></div>