<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes, I forgot to mention that I tried to use:<div class=""><br class=""></div><div class="">os.environ["OMP_NUM_THREADS"] = "1"<br class="">os.environ["MKL_NUM_THREADS"] = "1"<br class="">os.environ["GOTO_NUM_THREADS"] = “1"</div><div class=""><br class=""></div><div class="">at the beginning of the Python script but without success.</div><div class=""><br class=""></div><div class="">Gio </div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 12 Feb 2017, at 15:16, Anthony D. Kelman <<a href="mailto:kelman@berkeley.edu" class="">kelman@berkeley.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Depends which blas implementation you're using, but there should be an environment variable to control the threading.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Feb 11, 2017 11:15 PM, <<a href="mailto:gio.srt@gmail.com" class="">gio.srt@gmail.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br class="">
<br class="">
I’m using Ipopt on a server as a guest, meaning that I have no idea how Ipopt has been compiled or maintained. Ipopt is lunched within a Python script using Pyomo with the following options:<br class="">
<br class="">
max_iter=1000<br class="">
acceptable_tol=0.001<br class="">
honor_original_bounds=no<br class="">
max_cpu_time=20<br class="">
<br class="">
The server is running Ipopt version 3.12.2, using ma27 (this is what the solver output says).<br class="">
<br class="">
My problem is that Ipopt is using more than one core, which I don’t like in this case. The linear solver is definitely not the source of the parallelism, since only MA86 and M97 support that, which reduce the area of research to Blas, if I’m not mistaken.<br class="">
<br class="">
Any idea how I could force Ipopt to use only one core without knowing exactly what going on in the background? Or, say that Blas is causing those parallel calls, how do I disable that during run time?<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Giorgio<br class="">
______________________________<wbr class="">_________________<br class="">
Ipopt mailing list<br class="">
<a href="mailto:Ipopt@list.coin-or.org" class="">Ipopt@list.coin-or.org</a><br class="">
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" rel="noreferrer" target="_blank" class="">http://list.coin-or.org/<wbr class="">mailman/listinfo/ipopt</a><br class="">
</blockquote></div></div>
</div></blockquote></div><br class=""></div></body></html>