add MPIHelper::instance method without arguments
Sometimes it would be handy to access the MPIHelper
object from outside the main
function. Currently this is a bit tricky, as the MPIHelper::instance
method expects the argc
and argv
arguments.
This MR adds a MPIHelper::instance()
method, that do not expects any arguments. Unfortunately, this requires some changes of the internal implementation.