Skip to content

Commit

Permalink
[INFO] report which ILP lib we use
Browse files Browse the repository at this point in the history
  • Loading branch information
cbielow committed Oct 26, 2023
1 parent 9513f43 commit 7dabf9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/openms/source/DATASTRUCTURES/LPWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace OpenMS
{
LPWrapper::LPWrapper()
{
// note: should this mechanism ever change, also look at TOPP/OpenMSInfo.cpp
#if COINOR_SOLVER == 1
solver_ = SOLVER_COINOR;
model_ = new CoinModel;
Expand Down
6 changes: 6 additions & 0 deletions src/topp/OpenMSInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Source path : C:/dev/openms/src/openms
Binary path : C:/dev/openms_build/src/openms
Binary arch : 64 bit
Build type : Release
LP-Solver : COIN-OR
OpenMP : enabled (maxThreads = 32)
SIMD extensions : SSE, SSE2, SSE3, SSE4.1, AVX
Expand Down Expand Up @@ -116,6 +117,11 @@ class TOPPOpenMSInfo : public TOPPBase
cout << "Binary path : " << OPENMS_BINARY_PATH << "\n";
cout << "Binary arch : " << Internal::OpenMSOSInfo::getBinaryArchitecture() << "\n";
cout << "Build type : " << Internal::OpenMSBuildInfo::getBuildType() << "\n";
#if COINOR_SOLVER == 1
cout << "LP-Solver : COIN-OR\n";
#else
cout << "LP-Solver : GLPK\n";
#endif
#ifdef _OPENMP
cout << "OpenMP : " << "enabled (maxThreads = " << Internal::OpenMSBuildInfo::getOpenMPMaxNumThreads() << ")" << "\n";
#else
Expand Down

0 comments on commit 7dabf9d

Please sign in to comment.