<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">MA27 has been thread safe since 2001 -
      all state is held in the arguments.<br>
      <br>
      Jonathan.<br>
      <br>
      On 25/07/12 23:43, Damien wrote:<br>
    </div>
    <blockquote cite="mid:501076A9.4050300@khubla.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      All,<br>
      <br>
      The crashes on that ticket are probably caused by Fortran SAVE or
      COMMON statements in the linear solvers.&nbsp; MUMPS had them for sure,
      and given how old MA27 is it probably does too.&nbsp; There was some
      discussion on the MUMPS list a while back about running multiple
      instances of MUMPS, and if my memory serves me correctly it was
      done by wrapping the SAVE statements with OMP THREADPRIVATE
      directives so that global memory was separated for each instance.&nbsp;
      Since then MUMPS might have been modified, I'll look through the
      old MUMPS list and try and find the mail thread that had a working
      solution on it.&nbsp; <br>
      <br>
      Damien &nbsp; <br>
      <br>
      On 25/07/2012 3:41 PM, George Zhou wrote:<br>
      <blockquote
cite="mid:D3404CC6F9F5FC40B71BA6A6E282563F4CE0A64BEB@SPOTMAIL.spottrading.com"
        type="cite">
        <meta name="Generator" content="Microsoft Word 12 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:209999531;
        mso-list-type:hybrid;
        mso-list-template-ids:1974876096 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><!--ppd1000035-->
        <div class="WordSection1">
          <p class="MsoNormal">Hi, All,<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"> <a moz-do-not-send="true"
              href="https://projects.coin-or.org/Ipopt/ticket/167#comment:1">https://projects.coin-or.org/Ipopt/ticket/167#comment:1</a>,<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">From Andreas&#8217;s comments, I think the
            following two changes could make application run ipopt in
            parallel, as long each thread only access its own instance
            of ipopt<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoListParagraph"
            style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
              style="mso-list:Ignore">1)<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->Declare

            ipopt as TLS variable. (per thread based)<o:p></o:p></p>
          <p class="MsoListParagraph"
            style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
              style="mso-list:Ignore">2)<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->In

            Ipopt/src/Common/IpTaggedObject.hpp, change the following
            two variables as TLS variable or atomic ones:<o:p></o:p></p>
          <p class="MsoListParagraph" style="margin-left:1.0in">static
            Tag unique_tag_;<o:p></o:p></p>
          <p class="MsoListParagraph" style="margin-left:1.0in">Tag tag_<o:p></o:p></p>
          <p class="MsoNormal">Anyone has successful story to run
            multiple instances of ipopt in one application?<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">Thanks<o:p></o:p></p>
          <p class="MsoNormal">George<o:p></o:p></p>
          <p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
        </div>
        <br>
        <br>
        <hr size="2" width="250" color="#000066" align="left">
        <p align="left"><font size="2" color="#000066" face="Arial"><strong>&nbsp;
              &nbsp; George Zhou</strong><font size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><strong><font
                size="1"><br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></strong></font><font size="2"
            color="#000066" face="Arial"><strong><font size="1">Senior
                Developer</font></strong></font><font size="2"
            color="#000066" face="Arial"><br>
            <br>
          </font><font size="1" color="#000066" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Spot
            Trading L.L.C<br>
            &nbsp; &nbsp; &nbsp;440 South LaSalle St., Suite 2800<br>
            &nbsp; &nbsp; &nbsp;Chicago, IL 60605<br>
            &nbsp; &nbsp; &nbsp;Office: 312.362.4550&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Direct: 312-362-4699&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fax: 312.362.4551<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:George.Zhou@spottradingllc.com">George.Zhou@spottradingllc.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font
            size="1" color="#000066" face="Arial"><br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a moz-do-not-send="true"
              href="http://www.spottradingllc.com/">www.spottradingllc.com</a>
          </font></p>
        <hr size="2" width="250" color="#000066" align="left">
        <p align="left"><font size="1" color="#000066" face="arial">The
            information contained in this message may be privileged and
            confidential and protected from disclosure. If the reader of
            this message is not the intended recipient, or an employee
            or agent responsible for delivering this message to the
            intended recipient, you are hereby notified that any
            dissemination, distribution or copying of this communication
            is strictly prohibited. If you have received this
            communication in error, please notify us immediately by
            replying to the message and deleting it from your computer.
            Thank you. Spot Trading, LLC</font></p>
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Ipopt mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
    </blockquote>
    <br>
  
<br>
<p>-- 
<BR>Scanned by iCritical.
</p><br>
</body>
</html>