From 5b041f233975b58c2f92a71ebd8ada13e6e4fcbe Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 24 Oct 2025 15:38:30 +0200 Subject: [PATCH] Run a shell in the allocated node with salloc By default, salloc will open a new shell in the *current* node instead of in the allocated node. This often causes users to leave the extra shell running once the allocation ends. Repeating this process several times causes chains of shells. By running the shell in the remote node, once the allocation ends the shell finishes as well. Fixes: https://jungle.bsc.es/git/rarias/jungle/issues/174 See: https://slurm.schedmd.com/faq.html#prompt --- m/module/slurm-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m/module/slurm-common.nix b/m/module/slurm-common.nix index 180e2a54..48f01f2c 100644 --- a/m/module/slurm-common.nix +++ b/m/module/slurm-common.nix @@ -88,7 +88,7 @@ in { # LaunchParameters=ulimit_pam_adopt will set RLIMIT_RSS in processes # adopted by the external step, similar to tasks running in regular steps - # LaunchParameters=ulimit_pam_adopt + LaunchParameters=use_interactive_step SlurmdDebug=debug5 #DebugFlags=Protocol,Cgroup '';