From b23c0f49fc142ab7e5295ca3039fb1a40bb113fb Mon Sep 17 00:00:00 2001 From: Andre Merzky Date: Fri, 1 Nov 2024 12:00:31 +0100 Subject: [PATCH] fix env identifier --- src/radical/pilot/agent/executing/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/radical/pilot/agent/executing/base.py b/src/radical/pilot/agent/executing/base.py index a5ef4656a..c2a606529 100644 --- a/src/radical/pilot/agent/executing/base.py +++ b/src/radical/pilot/agent/executing/base.py @@ -616,7 +616,8 @@ def _get_rp_env(self, task): services = td.get('services') or list() for service in services: info = self._reg['services.%s' % service] or '' - ret += 'export RP_INFO_%s="%s"\n' % (service.upper(), str(info)) + sid = service.replace('.', '_').upper() + ret += 'export RP_INFO_%s="%s"\n' % (sid, str(info)) # FIXME AM # ret += 'export RP_LFS="%s"\n' % self.lfs