Changeset 2108 for trunk/Cbc/src


Ignore:
Timestamp:
Jan 12, 2015 9:26:29 AM (5 years ago)
Author:
forrest
Message:

out openblas serialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcSolver.cpp

    r2107 r2108  
    12951295  return CbcMain1(argc,argv,model,callBack,staticParameterData);
    12961296}
    1297 /*
    1298   Somehow with some BLAS we get multithreaded by default
    1299   For 99.99% of problems this is not a good idea.
    1300   The openblas_set_num_threads(1) seems to work even with other blas
    1301  */
    1302 #if COIN_FACTORIZATION_DENSE_CODE==1
    1303 #ifndef CLP_USE_OPENBLAS
    1304 #define CLP_USE_OPENBLAS 1
    1305 #endif
    1306 #endif
    1307 #if CLP_USE_OPENBLAS
    1308 extern "C"
    1309 {
    1310   void openblas_set_num_threads(int num_threads);
    1311 }
    1312 #endif
    13131297static void printGeneralMessage(CbcModel &model,const char * message);
    13141298/*
     
    13361320    int whichArgument=1;
    13371321#endif
    1338 #if CLP_USE_OPENBLAS
    1339     openblas_set_num_threads(CLP_USE_OPENBLAS);
    1340 #endif 
    13411322#ifdef CBC_USE_INITIAL_TIME
    13421323    if (model_.useElapsedTime())
Note: See TracChangeset for help on using the changeset viewer.