kibaekkim / DualDecomposition.jl

An algorithmic framework for parallel dual decomposition methods in Julia
MIT License
19 stars 5 forks source link

Attempting to use MPI for non-MPI code #11

Closed wzhangw closed 4 years ago

wzhangw commented 4 years ago

The following message sometimes shows up when running code that does not initialize MPI, and the program is killed:

"Attempting to use an MPI routine after finalizing MPICH"

kibaekkim commented 4 years ago

@wzhangw Just for note, it would be great if you can find a reproducible case.

kibaekkim commented 4 years ago

It may be safer to let user initialize and finalize MPI: https://github.com/kibaekkim/DualDecomposition.jl/blob/master/src/LagrangeDual.jl#L26

kibaekkim commented 4 years ago

@wzhangw We can reopen this, once you run into the issue again.