From a5c79f73dafa0028c8c157ffc97b4a3cd779856d Mon Sep 17 00:00:00 2001 From: Daniele Massaro Date: Fri, 21 Nov 2025 11:21:44 +0100 Subject: [PATCH] Remove `-l` from the bash call to modify coupl_write.inc The commands can be executed without sourcing the bash login files again. This solves some issues that are presenting on the NGT cluster, where, possibly, sourcing login files changes the path to $HOME. --- epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py b/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py index e54290d5a7..f2d7189ddd 100644 --- a/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py +++ b/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/output.py @@ -264,7 +264,7 @@ def finalize(self, matrix_element, cmdhistory, MG5options, outputflag): done""" try: result = subprocess.run( - ["bash", "-lc", patch_coupl_write], + ["bash", "-c", patch_coupl_write], cwd=pjoin(self.dir_path, "Source", "MODEL"), text=True, capture_output=True,