[Cbc] muti-thread compile for cbc-2.7.8
Noli Sicad
nsicad at gmail.com
Wed Nov 28 05:11:10 EST 2012
Hi Stefan,
> Try
> cbc -thread 4
> or
> cbc -threads 4
My i7 cpu (8 threads) and cbc only works with 1 thread (i.e. cbc
-threads 1) and if I put
-threads 2 or more, I got this error;
#######
/Users/nsicad/.config/gedit/tools/cbc-mip: line 13: 90443 Segmentation
fault: 11 /usr/local/bin/cbc $GEDIT_CURRENT_DOCUMENT_NAME% -proximity
on -threads 2
#######
No matter what configure switch I put on:
e.g.
#######
./configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64"
--enable-cbc-parallel --enable-gnu-packages --enable-debug -C
--prefix=/usr/local
or
./configure CFLAGS='-m64 -O3' CC=gcc-4.7 --enable-gnu-packages
--enable-cbc-parallel --enable-debug -C --prefix=/usr/local
#########
My platform is Mac OS X 10.8.2 Macbookpro retina - basic unit.
Noli
More information about the Cbc
mailing list