1. Matthew Turk
  2. enzo-timing-woc

Commits

John Wise  committed 9dba692

Turn off "reset load balancing" if running serially.

  • Participants
  • Parent commits 73ce20a
  • Branches litemp

Comments (0)

Files changed (1)

File src/enzo/ReadParameterFile.C

View file
  • Ignore whitespace
     ENZO_FAIL("PositiveReconstruction not supported yet with openmp-yes.\n");
 #endif
 
+  /* Turn off reseting LB if we're running serially */
+
+  if (NumberOfProcessors == 1 && ResetLoadBalancing)
+    ResetLoadBalancing = FALSE;
+
   CheckShearingBoundaryConsistency(MetaData);
   return SUCCESS;
 #endif /* ndef CONFIG_USE_LIBCONFIG */