Class Reference for E1039 Core & Analysis Software
submit_bnl.py File Reference

Go to the source code of this file.

Namespaces

 submit_bnl
 

Variables

 submit_bnl.jobname = sys.argv[1]
 
 submit_bnl.njobs = int(sys.argv[2])
 
 submit_bnl.nevents = int(sys.argv[3])
 
 submit_bnl.do_submition = bool(sys.argv[4])
 
string submit_bnl.sphenix_build_tag = 'new'
 
string submit_bnl.local_build_tag = 'install'
 
string submit_bnl.condor_base_path = '/gpfs/mnt/gpfs04/sphenix/user/yuhw/workspace/TargetSim/TargetSim'
 
string submit_bnl.macros_path = condor_base_path
 
string submit_bnl.output_path = condor_base_path + '/output/' + '/{}/'.format(jobname)
 
string submit_bnl.condor_work_dir_base = condor_base_path + '/work/' + '/{}/'.format(jobname)
 
string submit_bnl.condor_local = condor_base_path + '/temp/'
 
string submit_bnl.condor_work_dir = condor_work_dir_base + '/{}/'.format(ijob)
 
string submit_bnl.runscript = condor_work_dir + '/run.csh'
 
 submit_bnl.RUNSCRIPT = open(runscript,'w')
 
string submit_bnl.cmd = 'time root -l -b -q Fun4All_G4_BNL_R1.C\\({}\\‍)'.format(nevents)
 
string submit_bnl.condorfile = condor_work_dir + '/condor.job'
 
string submit_bnl.logfile = condor_work_dir + '/log.txt'
 
string submit_bnl.outfile = condor_work_dir + '/out.txt'
 
string submit_bnl.errfile = condor_work_dir + '/err.txt'
 
 submit_bnl.CONDORFILE = open(condorfile,'w')