Go to the source code of this file.
Namespaces | |
submit_flux | |
Functions | |
def | submit_flux.remove_file (myfile) |
Helper Functions. More... | |
Variables | |
submit_flux.scriptdir = os.path.abspath(sys.argv[0]+"/../..") | |
Determine default g4lbne directory (the directory this script is in) More... | |
string | submit_flux.usage = "usage: %prog [options]" |
Setup parser that reads in options. More... | |
submit_flux.parser = OptionParser(usage=usage) | |
submit_flux.dest | |
submit_flux.help | |
submit_flux.default | |
submit_flux.action | |
submit_flux.options | |
submit_flux.args | |
submit_flux.g4lbne_dir | |
submit_flux.output_dir | |
string | submit_flux.version = "v3r5p5" |
Determine G4LBNE Version. More... | |
string | submit_flux.g4lbne_executable = options.g4lbne_dir+"/g4lbnf" |
Check validity of specified options. More... | |
string | submit_flux.ppfx_dir = options.g4lbne_dir+"/ppfx/" |
string | submit_flux.ppfx_executable = ppfx_dir+"bin/doReweight_dk2nu_dune" |
string | submit_flux.ppfx_setup = options.g4lbne_dir+"/ppfx/setup_for_dune_cvmfs.sh " |
string | submit_flux.ppfx_xml = options.g4lbne_dir+"/ppfx/scripts/inputs_default.xml" |
submit_flux.mode = str(options.MODE) | |
string | submit_flux.g4lbne_setup = options.g4lbne_dir+"/setups/setup_g4lbne_cvmfs.sh" |
string | submit_flux.macro_template = options.macro_dir+"/" |
submit_flux.splitmacro = options.macro.split("-") | |
string | submit_flux.histomaker_macro = options.g4lbne_dir+"/ProductionScripts/makeFluxHistogramsL" |
submit_flux.physics_list = options.physics_list | |
string | submit_flux.output_macro_dir = "/pnfs/dune/scratch/users/" |
Print options. More... | |
string | submit_flux.output_wrapper_dir = "/pnfs/dune/scratch/users/" |
string | submit_flux.output_executable_dir = "/pnfs/dune/scratch/users/" |
string | submit_flux.flux_dir = options.output_dir+"/" |
string | submit_flux.log_dir = options.output_dir+"/" |
string | submit_flux.ppfx_flux_dir = options.output_dir+"/" |
string | submit_flux.ppfx_hadron_dir = ppfx_flux_dir+"hadron/flux/" |
string | submit_flux.ppfx_hadron_log = ppfx_flux_dir+"hadron/logfiles/" |
string | submit_flux.ppfx_imap_dir = ppfx_flux_dir+"imap/flux/" |
string | submit_flux.ppfx_imap_log = ppfx_flux_dir+"imap/logfiles/" |
string | submit_flux.temp_dir = " " |
Uncomment the following lines if you want interaction map from ppfx. More... | |
submit_flux.cwd = os.getcwd() | |
Make a tar file of the user's executable, setup area. More... | |
string | submit_flux.executable_file = output_executable_dir+"g4lbne_" |
string | submit_flux.file_prefix = "g4lbne_" |
Loop over requested jobs. More... | |
submit_flux.oldmac = open(macro_template) | |
submit_flux.new_macro_filename = output_macro_dir+os.path.basename(macro_template).replace(".mac","_"+str(i).zfill(3)+".mac") | |
submit_flux.newmac = open(new_macro_filename, 'w') | |
bool | submit_flux.horn_current_set = False |
submit_flux.splitline = s.split() | |
submit_flux.script_filename = output_wrapper_dir+os.path.basename(macro_template).replace(".mac",".sh") | |
submit_flux.wrapper = open(script_filename, 'w') | |
string | submit_flux.on_grid = "true" |
string | submit_flux.local_g4lbne_setup = "setups/" |
string | submit_flux.local_ppfx_setup = "ppfx/" |
string | submit_flux.local_tar_path = "$_CONDOR_SCRATCH_DIR/" |
submit_flux.offset = options.first_job | |
submit_flux.local_macro_path = os.path.basename(new_macro_filename) | |
string | submit_flux.local_g4lbne_executable = "g4lbnf" |
string | submit_flux.local_ppfx_executable = "ppfx/bin/doReweight_dk2nu_dune" |
string | submit_flux.local_ppfx_xml = "ppfx/scripts/inputs_default.xml" |
string | submit_flux.local_histomaker_macro = "ProductionScripts/makeFluxHistogramsL" |
string | submit_flux.dk2nu_output = file_prefix+"_${padded_run_number5}.dk2nu.root" |
string | submit_flux.ppfx_ndhisto_output = "histos_" |
string | submit_flux.ntuple_output = file_prefix+"_${padded_run_number}.root" |
string | submit_flux.ndhisto_output = "histos_" |
string | submit_flux.fdhisto_output = "histos_" |
string | submit_flux.ndfmchisto_output = "histos_" |
string | submit_flux.fdfmchisto_output = "histos_" |
string | submit_flux.ndglobeshisto_output = "histos_" |
string | submit_flux.fdglobeshisto_output = "histos_" |
string | submit_flux.ppfx_fdhisto_output = "histos_" |
string | submit_flux.outfiles = temp_dir+ndhisto_output+" " |
submit_flux.logfile = log_dir+ntuple_output.split("/")[-1].replace(".root",".log").replace("_${padded_run_number}","_\$PROCESS"); | |
string | submit_flux.jobsub_command = "jobsub_submit.py -N " |