Variables
launch_batch_jobs Namespace Reference

Variables

 parser = OptionParser()
 
 help
 
 action
 
 type
 
 str
 
 dest
 
 default
 
 options
 
 args
 
 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/batch-job.sh"
 Launch batch jobs jobsub_command = "jobsub -g %s/testing/scripts/batch-job.sh"%(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()
 
 time_str
 
string output_name = output_dir+"info.pkl"
 

Variable Documentation

launch_batch_jobs.action

Definition at line 11 of file launch_batch_jobs.py.

launch_batch_jobs.args

Definition at line 17 of file launch_batch_jobs.py.

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

Definition at line 71 of file launch_batch_jobs.py.

list launch_batch_jobs.chains = []

configure chains

Definition at line 48 of file launch_batch_jobs.py.

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.py.

launch_batch_jobs.commands = []

Definition at line 63 of file launch_batch_jobs.py.

launch_batch_jobs.compiler_flag = "maxopt"

Definition at line 67 of file launch_batch_jobs.py.

launch_batch_jobs.default

Definition at line 11 of file launch_batch_jobs.py.

launch_batch_jobs.dest

Definition at line 11 of file launch_batch_jobs.py.

launch_batch_jobs.good_submission = False

Definition at line 75 of file launch_batch_jobs.py.

launch_batch_jobs.help

Definition at line 11 of file launch_batch_jobs.py.

launch_batch_jobs.i_evt = 1

Definition at line 64 of file launch_batch_jobs.py.

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/batch-job.sh"

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

Definition at line 46 of file launch_batch_jobs.py.

launch_batch_jobs.lines = output.readlines()

Definition at line 78 of file launch_batch_jobs.py.

launch_batch_jobs.logs = []

Definition at line 66 of file launch_batch_jobs.py.

launch_batch_jobs.options

Definition at line 17 of file launch_batch_jobs.py.

launch_batch_jobs.output = process.stdout

Definition at line 77 of file launch_batch_jobs.py.

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

Definition at line 28 of file launch_batch_jobs.py.

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

Definition at line 97 of file launch_batch_jobs.py.

launch_batch_jobs.parser = OptionParser()

Definition at line 10 of file launch_batch_jobs.py.

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

Definition at line 11 of file launch_batch_jobs.py.

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

Make output directory.

Definition at line 27 of file launch_batch_jobs.py.

launch_batch_jobs.time_str

Definition at line 96 of file launch_batch_jobs.py.

launch_batch_jobs.type

Definition at line 11 of file launch_batch_jobs.py.