From 7261a2d068e4e632123c0c2e715a590f091004d0 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Mon, 22 Feb 2016 17:20:08 -0500 Subject: [PATCH] Use all processors when restarting in PHDF5 --- src/state_point.F90 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/state_point.F90 b/src/state_point.F90 index fb7c17788f..82c53c80b8 100644 --- a/src/state_point.F90 +++ b/src/state_point.F90 @@ -747,8 +747,13 @@ contains &file") end if - ! Read tallies to master + ! Read tallies to master. If we are using Parallel HDF5, all processors + ! need to be included in the HDF5 calls. +#ifdef PHDF5 + if (.true.) then +#else if (master) then +#endif ! Read number of realizations for global tallies call read_dataset(file_id, "n_realizations", n_realizations, indep=.true.)