mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Only reduce tallies if n_procs > 1
This commit is contained in:
parent
bdf5ea20e3
commit
4bcf3b7aea
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,7 @@ accumulate_tallies()
|
|||
{
|
||||
#ifdef OPENMC_MPI
|
||||
// Combine tally results onto master process
|
||||
if (settings::reduce_tallies) reduce_tally_results();
|
||||
if (settings::reduce_tallies && mpi::n_procs > 1) reduce_tally_results();
|
||||
#endif
|
||||
|
||||
// Increase number of realizations (only used for global tallies)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue