Skip to content

Commit

Permalink
swif2 commands on alma9 nodes are in /usr/local/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
aaust committed Aug 21, 2024
1 parent 01228fa commit dfcc275
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launch_scripts/merge_trees/cron_exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

4 changes: 2 additions & 2 deletions launch_scripts/merge_trees/merge_trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dfcc275

Please sign in to comment.