[Cbc] Parallel version of Cbc

Joel Joel joel_31415 at yahoo.fr
Mon Oct 6 10:34:47 EDT 2008


Hello,


I have compiled Cbc (SVN revision 1087) with MinGW, using the the "standard" procedure: configure, make, make install.
I am able to use Cbc as a static library and it works fine. 

I wanted to try the parallel version of Cbc, using: ".\configure --enable-cbc-parallel".

1°) During the configuration script, I have the following warning message: 
    "-lrt unavailable; using gettimeofday instead of clock_gettime"

2°) During Cbc compilation, I have an error message:
[...]
g++ -DHAVE_CONFIG_H -I. -I. -I../inc -I/home/Joel/COIN-Cbc/Clp/src -I/home/J
oelR/COIN-Cbc/Osi/src/OsiClp -I/home/Joel/COIN-Cbc/Cbc/../Clp/inc -I/home/Joel
R/COIN-Cbc/Cgl/src -I/home/Joel/COIN-Cbc/Cgl/src/CglClique -I/home/Joel/COIN-
Cbc/Cgl/src/CglDuplicateRow -I/home/Joel/COIN-Cbc/Cgl/src/CglFlowCover -I/home
/Joel/COIN-Cbc/Cgl/src/CglGomory -I/home/Joel/COIN-Cbc/Cgl/src/CglKnapsackCov
er -I/home/Joel/COIN-Cbc/Cgl/src/CglMixedIntegerRounding -I/home/Joel/COIN-Cb
c/Cgl/src/CglMixedIntegerRounding2 -I/home/Joel/COIN-Cbc/Cgl/src/CglOddHole -I
/home/Joel/COIN-Cbc/Cgl/src/CglPreProcess -I/home/Joel/COIN-Cbc/Cgl/src/CglPr
obing -I/home/Joel/COIN-Cbc/Cgl/src/CglRedSplit -I/home/Joel/COIN-Cbc/Cgl/src
/CglTwomir -I/home/Joel/COIN-Cbc/Cgl/src/CglLandP -I/home/Joel/COIN-Cbc/Cgl/s
rc/CglResidualCapacity -I/home/Joel/COIN-Cbc/CoinUtils/src -I/home/Joel/COIN-
Cbc/Cbc/../CoinUtils/inc -I/home/Joel/COIN-Cbc/Osi/src -I/home/Joel/COIN-Cbc/
Cbc/../Osi/inc -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG -O3 -fomit-frame-pointer -
pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qu
al -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -MT 
CbcModel.lo -MD -MP -MF .deps/CbcModel.Tpo -c CbcModel.cpp -o CbcModel.o
CbcModel.cpp: In member function 'bool CbcModel::solveWithCuts(OsiCuts&, int, CbcNode*)':
CbcModel.cpp:7869: error: expected unqualified-id before '=' token
CbcModel.cpp:7870: error: expected unqualified-id before '=' token
CbcModel.cpp:7879: error: expected primary-expression before 'char'
CbcModel.cpp:7879: error: expected `)' before 'char'
CbcModel.cpp:7883: error: expected primary-expression before 'char'
CbcModel.cpp:7883: error: expected `)' before 'char'
CbcModel.cpp:7915: error: expected primary-expression before 'char'
CbcModel.cpp:7915: error: expected `)' before 'char'
CbcModel.cpp:7919: error: expected primary-expression before 'char'
CbcModel.cpp:7919: error: expected `)' before 'char'
CbcModel.cpp:7947: error: expected primary-expression before 'char'
CbcModel.cpp:7947: error: expected `)' before 'char'
CbcModel.cpp:7951: error: expected primary-expression before 'char'
CbcModel.cpp:7951: error: expected `)' before 'char'
CbcModel.cpp:7868: warning: unused variable 'size'
CbcModel.cpp:8035: error: expected unqualified-id before '=' token
CbcModel.cpp:8085: error: expected primary-expression before 'char'
CbcModel.cpp:8085: error: expected `)' before 'char'
CbcModel.cpp:8088: error: expected primary-expression before 'int'
CbcModel.cpp:8088: error: expected `)' before 'int'


Could anyone give me some help?
- Is the librt library mandatory?  If yes, where can I download it? 
- Is it currently possible to compile a parallel version of Cbc or is it too early? If yes, what am I doing wrong? 


Many thanks in advance for your help!

Joel.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20081006/8327d74b/attachment.html 


More information about the Cbc mailing list