Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openmc/deplete/microxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def get_microxs_and_flux(
model.export_to_model_xml()
comm.barrier()
# Reinitialize with tallies
openmc.lib.init(intracomm=comm)
output = run_kwargs.get('output', True) if run_kwargs else True
openmc.lib.init(intracomm=comm, output=output)

with TemporaryDirectory() as temp_dir:
# Indicate to run in temporary directory unless being executed through
Expand Down
2 changes: 1 addition & 1 deletion openmc/deplete/r2s.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def step1_neutron_transport(

# Run neutron transport and get fluxes and micros. Run via openmc.lib to
# maintain a consistent parallelism strategy with the activation step.
with TemporarySession():
with TemporarySession(output=False):
self.results['fluxes'], self.results['micros'] = get_microxs_and_flux(
self.neutron_model, domains, **micro_kwargs)

Expand Down
Loading