Skip to content
Snippets Groups Projects

[RTADPA BW Tests] New Sprucing bandwidth test using latest-available HLT2 input.

Merged Luke Grazette requested to merge lugrazet-BW-spruce-ydayshlt2 into master
1 file
+ 11
1
Compare changes
  • Side-by-side
  • Inline
@@ -49,10 +49,20 @@ def is_remote(url):
return url.startswith('mdf:root:') or url.startswith('root:')
def dump_nevts(n_evts, process):
fname_helper = FileNameHelper(process)
ofile = fname_helper.input_nevts_json()
with open(ofile, 'w') as f:
json.dump({"n_evts": f"{n_evts}"}, f)
return 0
def run_gaudi_job(args, config, job_input):
# Build command line
n_evts = input_nevts(
input_files=job_input, process=args.process, evtmax=args.evt_max)
input_files=job_input, evtmax=args.evt_max)
dump_nevts(n_evts, args.process)
extra_options = [
f"n_threads = {args.threads}", f"n_event_slots = {args.evtSlots}",
f"evt_max = {n_evts}",
Loading