From dfcc2758126c558bcce6d366ff6f11434d193216 Mon Sep 17 00:00:00 2001 From: Alex Austregesilo Date: Wed, 21 Aug 2024 14:43:14 -0400 Subject: [PATCH] swif2 commands on alma9 nodes are in /usr/local/bin --- launch_scripts/merge_trees/cron_exec.sh | 2 +- launch_scripts/merge_trees/merge_trees.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/launch_scripts/merge_trees/cron_exec.sh b/launch_scripts/merge_trees/cron_exec.sh index 7c510f2..fea1ecc 100755 --- a/launch_scripts/merge_trees/cron_exec.sh +++ b/launch_scripts/merge_trees/cron_exec.sh @@ -2,6 +2,6 @@ date source ~/env_analysis_launch.sh -export PATH=/site/bin:${PATH} #because .login isn't executed, and need this path for SWIF +export PATH=/usr/local/bin:${PATH} #because .login isn't executed, and need this path for SWIF python ~/hd_utilities/launch_scripts/merge_trees/merge_trees.py ~/hd_utilities/launch_scripts/merge_trees/jobs_merge.config 0 diff --git a/launch_scripts/merge_trees/merge_trees.py b/launch_scripts/merge_trees/merge_trees.py index 3908d81..9877af7 100755 --- a/launch_scripts/merge_trees/merge_trees.py +++ b/launch_scripts/merge_trees/merge_trees.py @@ -385,12 +385,12 @@ def main(argv): try_command(command) # MODIFY FAILED JOBS - command = "swif2 modify-jobs -ram add 4gb -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_OUT_OF_MEMORY" + command = "/usr/local/bin/swif2 modify-jobs -ram add 4gb -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_OUT_OF_MEMORY" if VERBOSE > 1: print(command) try_command(command) - command = "swif2 modify-jobs -time add 4h -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_TIMEOUT" + command = "/usr/local/bin/swif2 modify-jobs -time add 4h -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_TIMEOUT" if VERBOSE > 1: print(command) try_command(command)