mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Print statement only on master
This commit is contained in:
parent
dcc4b47ea4
commit
95948d66ec
1 changed files with 2 additions and 1 deletions
|
|
@ -1002,7 +1002,8 @@ class CMFDRun(object):
|
|||
'file {}'.format(sp_filepath))
|
||||
else:
|
||||
# Overwrite CMFD values from statepoint
|
||||
if openmc.capi.settings.verbosity >= 5:
|
||||
if (openmc.capi.master() and
|
||||
openmc.capi.settings.verbosity >= 5):
|
||||
print(' Loading CMFD data from {}...'.format(sp_filepath))
|
||||
sys.stdout.flush()
|
||||
self._cmfd_on = h5f['cmfd'].attrs['cmfd_on']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue