From 37ec4b241ce8160eb8e7e914abb96b21fcc582b2 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 20 Aug 2020 22:12:31 +0200 Subject: [PATCH] Default thread count sensible --- Grid/util/Init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grid/util/Init.cc b/Grid/util/Init.cc index 8e870525..37d16176 100644 --- a/Grid/util/Init.cc +++ b/Grid/util/Init.cc @@ -472,7 +472,7 @@ void Grid_init(int *argc,char ***argv) if( GridCmdOptionExists(*argv,*argv+*argc,"--lebesgue") ){ LebesgueOrder::UseLebesgueOrder=1; } - CartesianCommunicator::nCommThreads = -1; + CartesianCommunicator::nCommThreads = 1; if( GridCmdOptionExists(*argv,*argv+*argc,"--comms-threads") ){ arg= GridCmdOptionPayload(*argv,*argv+*argc,"--comms-threads"); GridCmdOptionInt(arg,CartesianCommunicator::nCommThreads);