I just built Cbc 2.7.8 in OSX 10.8 with --enable-cbc-parallel and executed with "-threads 4" and it works fine. You'll have to give some more details, such as what compiler(s) you're using. I'm using the g++ that comes with XCode.<br>
<br>i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)<br><br>Ted<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 5:11 AM, Noli Sicad <span dir="ltr"><<a href="mailto:nsicad@gmail.com" target="_blank">nsicad@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stefan,<br>
<div class="im"><br>
<br>
> Try<br>
> cbc -thread 4<br>
> or<br>
> cbc -threads 4<br>
<br>
</div>My i7 cpu (8 threads) and cbc only works with 1 thread (i.e. cbc<br>
-threads 1) and if I put<br>
-threads 2 or more, I got this error;<br>
<br>
#######<br>
<br>
/Users/nsicad/.config/gedit/tools/cbc-mip: line 13: 90443 Segmentation<br>
fault: 11 /usr/local/bin/cbc $GEDIT_CURRENT_DOCUMENT_NAME% -proximity<br>
on -threads 2<br>
<br>
#######<br>
<br>
No matter what configure switch I put on:<br>
<br>
e.g.<br>
<br>
#######<br>
<br>
./configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64"<br>
--enable-cbc-parallel --enable-gnu-packages --enable-debug -C<br>
--prefix=/usr/local<br>
<br>
or<br>
<br>
<br>
./configure CFLAGS='-m64 -O3' CC=gcc-4.7 --enable-gnu-packages<br>
--enable-cbc-parallel --enable-debug -C --prefix=/usr/local<br>
<br>
#########<br>
<br>
My platform is Mac OS X 10.8.2 Macbookpro retina - basic unit.<br>
<span class="HOEnZb"><font color="#888888"><br>
Noli<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
<br>
</div>