Problem running Pincell Depletion Example

OpenMC’s depletion capability relies on the Python multiprocessing module to run calculations in parallel. Depending on how new processes are created, you can run into some problematic behavior as discussed here. In you case, you may just want to disable the use of multiprocessing to avoid issues, which can be done by adding:

openmc.deplete.pool.USE_MULTIPROCESSING = False

at the beginning of your script.

1 Like