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)