[Cbc] muti-thread compile for cbc-2.7.8
xiwen
xiwenwang at gmail.com
Wed Nov 28 17:57:46 EST 2012
Hi Stefan,
I have tried downloaded different verions and the 2.4.2 seems working:
wangx at qrprdbal803:~> cbc -threads 8
Coin Cbc and Clp Solver version 2.4.2, build Nov 28 2012
command line - cbc -threads 8 (default strategy 1)
threads was changed from 0 to 8
Total time 0.00
wangx at qrprdbal803:~>
Does this means the cbc parallel is correct?
Thanks
Xiwen
On Nov 28, 2012, at 5:11 AM, Noli Sicad wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20121128/1f6f8863/attachment.html>
More information about the Cbc
mailing list