<html><body>
<p>Not really enough to go on.  Simple test seems OK.  If you can send me something to replicate I can test.<br>
<br>
John Forrest<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for acw---07/15/2009 06:44:53 PM---We are trying to enable multithreading in our Cbc-based application.  "><font color="#424282">acw---07/15/2009 06:44:53 PM---We are trying to enable multithreading in our Cbc-based application.  Our  application was modeled o</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">acw@ascent.com</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">cbc@list.coin-or.org</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Cc:</font></td><td width="100%" valign="middle"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">dev@ascent.com</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">07/15/2009 06:44 PM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[Cbc] Enabling multithreading with CbcMain1</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Sent by:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF66DF98E20B8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">cbc-bounces@list.coin-or.org</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<br>
We are trying to enable multithreading in our Cbc-based application.  Our application was modeled on Cbc/examples/driver4.cpp, though we use custom code to assemble the model, rather than reading from an MPS file.<font size="4"> <br>
</font><br>
We are seeing an exception and process quit in our early attempts to specify the thread count.<font size="4"> <br>
</font><br>
The important bit is:<font size="4"> <br>
</font><br>
const char * argv2[ ] = {&quot;driver3&quot;, &quot;-threads&quot;, &quot;0&quot;, &quot;-solve&quot;, &quot;-quit&quot;};<font size="4"> </font><br>
CbcMain1(5, argv2, modelA, callBack);<font size="4"> <br>
</font><br>
The failure definitely occurs after control is handed to CbcMain1.  Have we specified argv2 wrongly?  I just noticed that we got the command name wrong (&quot;driver3&quot;) but I'm pretty sure this &quot;zeroth&quot; argument is ignored by CbcMain1.<font size="4"> <br>
</font><br>
My understanding is that &quot;-threads 0&quot; disables multithreading in the command-line interface; we were just testing the syntax before trying to enable multithreading.<font size="4"> <br>
</font><br>
Thanks for your assistance.<tt>_______________________________________________<br>
Cbc mailing list<br>
Cbc@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a></tt><tt><br>
</tt><br>
<br>
</body></html>