launch_batch_jobs Namespace Reference


 parser = OptionParser()
 t_string = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())
 Make output directory. More...
string output_dir = "%s/production_testing/%s_%s/"
string command = "tar czf %s/../production_python.tgz %s/"
 clean up local directory More...
string jobsub_command = "jobsub_submit -G nova --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --expected-lifetime=3500s --OS=SL6 --memory=3GB --disk=10GB file://%s/testing/scripts/"
 Launch batch jobs jobsub_command = "jobsub -g %s/testing/scripts/"%(os.environ["NOVAPRODVALID_DIR"]) # jobsub tools command. More...
list chains = []
 configure chains More...
list commands = []
int i_evt = 1
list logs = []
string compiler_flag = "maxopt"
string c = "%s %s %s %i %s %s"
bool good_submission = False
 process = subprocess.Popen(c.split(" "), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
 output = process.stdout
 lines = output.readlines()
string output_name = output_dir+"info.pkl"

Variable Documentation


Definition at line 11 of file


Definition at line 17 of file

string launch_batch_jobs.c = "%s %s %s %i %s %s"

Definition at line 71 of file

list launch_batch_jobs.chains = []

configure chains

Definition at line 48 of file

string launch_batch_jobs.command = "tar czf %s/../production_python.tgz %s/"

clean up local directory

collect latest working directory

Definition at line 41 of file

launch_batch_jobs.commands = []

Definition at line 63 of file

launch_batch_jobs.compiler_flag = "maxopt"

Definition at line 67 of file


Definition at line 11 of file


Definition at line 11 of file

launch_batch_jobs.good_submission = False

Definition at line 75 of file

Definition at line 11 of file

launch_batch_jobs.i_evt = 1

Definition at line 64 of file

string launch_batch_jobs.jobsub_command = "jobsub_submit -G nova --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --expected-lifetime=3500s --OS=SL6 --memory=3GB --disk=10GB file://%s/testing/scripts/"

Launch batch jobs jobsub_command = "jobsub -g %s/testing/scripts/"%(os.environ["NOVAPRODVALID_DIR"]) # jobsub tools command.

Definition at line 46 of file

launch_batch_jobs.lines = output.readlines()

Definition at line 78 of file

launch_batch_jobs.logs = []

Definition at line 66 of file


Definition at line 17 of file

launch_batch_jobs.output = process.stdout

Definition at line 77 of file

string launch_batch_jobs.output_dir = "%s/production_testing/%s_%s/"

Definition at line 28 of file

string launch_batch_jobs.output_name = output_dir+"info.pkl"

Definition at line 97 of file

launch_batch_jobs.parser = OptionParser()

Definition at line 10 of file

launch_batch_jobs.process = subprocess.Popen(c.split(" "), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

Definition at line 11 of file

launch_batch_jobs.t_string = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())

Make output directory.

Definition at line 27 of file


Definition at line 96 of file


Definition at line 11 of file