Skip to content

Commit dfcc275

Browse files
committed
swif2 commands on alma9 nodes are in /usr/local/bin
1 parent 01228fa commit dfcc275

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

launch_scripts/merge_trees/cron_exec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
date
44
source ~/env_analysis_launch.sh
5-
export PATH=/site/bin:${PATH} #because .login isn't executed, and need this path for SWIF
5+
export PATH=/usr/local/bin:${PATH} #because .login isn't executed, and need this path for SWIF
66
python ~/hd_utilities/launch_scripts/merge_trees/merge_trees.py ~/hd_utilities/launch_scripts/merge_trees/jobs_merge.config 0
77

launch_scripts/merge_trees/merge_trees.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,12 @@ def main(argv):
385385
try_command(command)
386386

387387
# MODIFY FAILED JOBS
388-
command = "swif2 modify-jobs -ram add 4gb -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_OUT_OF_MEMORY"
388+
command = "/usr/local/bin/swif2 modify-jobs -ram add 4gb -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_OUT_OF_MEMORY"
389389
if VERBOSE > 1:
390390
print(command)
391391
try_command(command)
392392

393-
command = "swif2 modify-jobs -time add 4h -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_TIMEOUT"
393+
command = "/usr/local/bin/swif2 modify-jobs -time add 4h -workflow " + LAUNCH_WORKFLOW + " -problems SLURM_TIMEOUT"
394394
if VERBOSE > 1:
395395
print(command)
396396
try_command(command)

0 commit comments

Comments
 (0)