Skip to content

MPI parallelization not possible with depletion in OpenMC #122

@garcs2

Description

@garcs2

When trying to run a memory intensive job such as depletion with WATTS, it's helpful to run jobs that use both OpenMP threads and MPI processes. I've recreated an example using two mpi processes.

CWD after depletion function is passed into plugin is called: /tmp/tmpr7dpntnx
CWD after depletion function is passed into plugin is called: /tmp/tmpftqlix2t

It seems this is an issue with mpi optimization not being made in mind, specifically with cd_tmpdir and move_files in fileutils.py and results.py, respectively. If I try to launch a script with mpi processes, WATTS will create two separate tmp directories, which creates reading issues for statepoint files. I believe solution would be mpi implementation into cd_tmpdir and move_files, at least for openmc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions