From 7c0eb9c4e20329b15daf9c60a775636d72cc81ca Mon Sep 17 00:00:00 2001 From: Jan Kwakkel Date: Thu, 28 Mar 2024 13:54:09 +0100 Subject: [PATCH] Update futures_mpi.py --- ema_workbench/em_framework/futures_mpi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ema_workbench/em_framework/futures_mpi.py b/ema_workbench/em_framework/futures_mpi.py index c560b1648..b6f0db9d1 100644 --- a/ema_workbench/em_framework/futures_mpi.py +++ b/ema_workbench/em_framework/futures_mpi.py @@ -126,7 +126,8 @@ def send_sentinel(): for handler in get_rootlogger().handlers: if isinstance(handler, MPIHandler): _logger.debug("sending sentinel") - handler.emit(record) + # handler.emit(record) + handler.communicator.send(record, 0, 0) class MPIHandler(QueueHandler):