--- trunk/gadget/keeper.cc 2015/07/23 19:00:38 11 +++ trunk/gadget/keeper.cc 2015/10/13 11:29:01 16 @@ -7,7 +7,7 @@ extern Ecosystem* EcoSystem; -#ifndef NO_OPENMP +#ifdef _OPENMP extern Ecosystem** EcoSystems; #endif @@ -290,7 +290,7 @@ //JMB - print the number of function evaluations at the start of the line int iters = EcoSystem->getFuncEval(); -#ifndef NO_OPENMP +#ifdef _OPENMP int numThr = omp_get_max_threads ( ); for (int i = 0; i < numThr; i++) iters += EcoSystems[i]->getFuncEval(); @@ -423,7 +423,7 @@ if (interrupt) { int iters = EcoSystem->getFuncEval(); -#ifndef NO_OPENMP +#ifdef _OPENMP int numThr = omp_get_max_threads ( ); for (i = 0; i < numThr; i++) iters += EcoSystems[i]->getFuncEval();