diff --git a/src/commons/Parameters.cpp b/src/commons/Parameters.cpp index dd000f4c..e09afbc3 100644 --- a/src/commons/Parameters.cpp +++ b/src/commons/Parameters.cpp @@ -2340,12 +2340,7 @@ void Parameters::setDefaults() { if (threadEnv != NULL) { threads = (int) Util::fast_atoi(threadEnv); } else { - #ifdef _SC_NPROCESSORS_ONLN - threads = sysconf(_SC_NPROCESSORS_ONLN); - #endif - if(threads <= 1){ - threads = Util::omp_thread_count(); - } + threads = Util::omp_thread_count(); } #endif