<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Rolf Steenge was kind enough to answer
this question (thank you, Rolf!):<br>
<br>
<blockquote type="cite">
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; ">The
website</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "><br>
</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "><a
href="http://sources.redhat.com/pthreads-win32/">http://sources.redhat.com/pthreads-win32/</a></div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "> </div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; ">has the
necessary ingredients:</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "> </div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; ">1.
Add the header files: pthread.h, sched.h, semaphore.h to the
libCbc headers (or your own project)</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "><br>
</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; ">2.
Add the library pThreadVSE2.lib to the subproject libCbc (or
your own project)</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; "><br>
</div>
<div style="font-family: '.Helvetica NeueUI'; font-size: 18px;
line-height: 24px; -webkit-tap-highlight-color: rgba(26, 26,
26, 0.296875); -webkit-composition-fill-color: rgba(130, 98,
83, 0.0976563); -webkit-composition-frame-color: rgba(191,
107, 82, 0.496094); -webkit-text-size-adjust: none; ">3.
Last but not least add at the top of the source of
CbcModel.h: #define CBC_THREAD 1</div>
</blockquote>
<blockquote type="cite">4. The dll
<div><br>
</div>
<div>pThreadVSE2.dll</div>
<div><br>
</div>
<div>should be placed in the same folder as cbc.exe</div>
</blockquote>
<br>
[<br>
In fact, five years ago he gave this answer as solution to a
ticket:<br>
<br>
<a class="moz-txt-link-freetext" href="https://projects.coin-or.org/Cbc/ticket/45">https://projects.coin-or.org/Cbc/ticket/45</a> <br>
]<br>
<br>
I was able to follow the procedure and compile a
multithreading-enabled CBC. <br>
It works strangely different. The first test was encouraging<br>
(on a 8-core 64bit machine with Windows 7). <br>
<br>
(With the same input MIP, the parallel version of Symphony crashed
<br>
spectacularly.)<br>
<br>
Petru<br>
<br>
<br>
On 10/5/2012 2:14 PM, <a class="moz-txt-link-abbreviated" href="mailto:acw@ascent.com">acw@ascent.com</a> wrote:<br>
</div>
<blockquote
cite="mid:OFA5FFC723.B002134E-ON85257A8E.004284A7-85257A8E.00433DDB@ascent.com"
type="cite"><font face="sans-serif" size="2">We are in a similar
situation to Petru's.
In our case, we are building our own executable against the
binaries
provided by the CoinBinary project (whose mailing list I am
CCing, since
it isn't clear whose bailiwick this is).</font>
<br>
<br>
<font face="sans-serif" size="2">When building Cbc from source,
the command
"./configure" should be replaced with "./configure -C
--enable-cbc-parallel"
in order to enable multithreading. We can make this work on
Linux
but have been stymied on Windows (building under MinGW).</font>
<br>
<br>
<font face="sans-serif" size="2">Multithreading with Cbc on
Windows is
a high priority for us.</font>
<br>
</blockquote>
<br>
</body>
</html>