diff --git a/fairmq/plugins/PMIx/PMIxPlugin.cxx b/fairmq/plugins/PMIx/PMIxPlugin.cxx index 4de3639e..c4bc02de 100644 --- a/fairmq/plugins/PMIx/PMIxPlugin.cxx +++ b/fairmq/plugins/PMIx/PMIxPlugin.cxx @@ -171,7 +171,7 @@ auto PMIxPlugin::SubscribeForCommands() -> void LOG(debug) << "Publishing state-change: " << fLastState << "->" << fCurrentState << " to " << sender; - Cmds outCmds(make(fDeviceId, Result::Ok), + Cmds outCmds(make(fDeviceId, fProcess.rank, Result::Ok), make(fDeviceId, 0, fLastState, fCurrentState)); fCommands.Send(outCmds.Serialize(Format::JSON), {sender}); } @@ -181,7 +181,7 @@ auto PMIxPlugin::SubscribeForCommands() -> void lock_guard lock{fStateChangeSubscriberMutex}; fStateChangeSubscribers.erase(sender.rank); } - fCommands.Send(Cmds(make(fDeviceId, Result::Ok)) + fCommands.Send(Cmds(make(fDeviceId, fProcess.rank, Result::Ok)) .Serialize(Format::JSON), {sender}); }