mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Use all processors when restarting in PHDF5
This commit is contained in:
parent
f44446e20e
commit
7261a2d068
1 changed files with 6 additions and 1 deletions
|
|
@ -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.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue