Changeset 2107 for trunk/Cbc


Ignore:
Timestamp:
Jan 12, 2015 6:58:05 AM (5 years ago)
Author:
forrest
Message:

somehow blas can go paralllel - I think this fixes

File:
1 edited

Legend:

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

    r2106 r2107  
    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
    12971307#if CLP_USE_OPENBLAS
    12981308extern "C"
Note: See TracChangeset for help on using the changeset viewer.