From 83f8097885d5ab91e68deb6e53a233ec6cbaf405 Mon Sep 17 00:00:00 2001 From: Alex Austregesilo Date: Fri, 21 Jan 2022 15:42:01 -0500 Subject: [PATCH] transition launch script to swif2 --- launch_scripts/launch/launch.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/launch_scripts/launch/launch.py b/launch_scripts/launch/launch.py index d526d0dd..087a8c9e 100755 --- a/launch_scripts/launch/launch.py +++ b/launch_scripts/launch/launch.py @@ -1,11 +1,11 @@ #!/usr/bin/env python +# Alex Austregesilo # Paul Mattione # Built off of hdswif by Kei Moriya # -# SWIF DOCUMENTATION: -# https://scicomp.jlab.org/docs/swif -# https://scicomp.jlab.org/docs/swif-cli +# SWIF2 DOCUMENTATION: +# https://scicomp.jlab.org/docs/swif2 from optparse import OptionParser import os.path @@ -220,9 +220,9 @@ def add_job(WORKFLOW, FILEPATH, config_dict): # CREATE ADD-JOB COMMAND # job - add_command = "swif add-job -workflow " + WORKFLOW + " -name " + JOBNAME + add_command = "swif2 add-job -workflow " + WORKFLOW + " -name " + JOBNAME # accounting - add_command += " -project " + config_dict["PROJECT"] + " -track " + config_dict["TRACK"] + " -os " + config_dict["OS"] + add_command += " -account " + config_dict["PROJECT"] + " -partition " + config_dict["TRACK"] + " -os " + config_dict["OS"] # resources add_command += " -cores " + config_dict["NCORES"] + " -disk " + config_dict["DISK"] + " -ram " + config_dict["RAM"] + " -time " + config_dict["TIMELIMIT"] # inputs