diff --git a/Framework/Core/src/ChannelSpecHelpers.cxx b/Framework/Core/src/ChannelSpecHelpers.cxx index c66a1964c12a0..0578c51403b26 100644 --- a/Framework/Core/src/ChannelSpecHelpers.cxx +++ b/Framework/Core/src/ChannelSpecHelpers.cxx @@ -339,6 +339,10 @@ std::string ChannelSpecHelpers::defaultIPCFolder() if (channelPrefix) { return fmt::format("@dpl_{}_", channelPrefix); } + channelPrefix = getenv("SLURM_JOB_ID"); + if (channelPrefix) { + return fmt::format("@dpl_{}_", channelPrefix); + } return "@"; #else /// Find out a place where we can write the sockets