Skip to content
Snippets Groups Projects

feat: gaudirun to eicrecon for tracking benchmarks

Open Wouter Deconinck requested to merge eicrecon into master
Files
6
@@ -104,12 +104,12 @@ if 'rec' in procs:
@@ -104,12 +104,12 @@ if 'rec' in procs:
os.environ['JUGGLER_COMPACT_PATH'] = args.compact
os.environ['JUGGLER_COMPACT_PATH'] = args.compact
os.environ['JUGGLER_N_EVENTS'] = '{}'.format(args.nev)
os.environ['JUGGLER_N_EVENTS'] = '{}'.format(args.nev)
for opt in opt_scripts:
os.environ['JANA_HOME'] = '/usr/local/lib/EICrecon'
rec_cmd = ['gaudirun.py', os.path.join(sdir, 'options', opt)]
rec_cmd = ['eicrecon', f'-Ppodio:output_file={rec_file}', sim_file]
return_code = subprocess.run(rec_cmd).returncode
return_code = subprocess.run(rec_cmd).returncode
if return_code is not None and return_code < 0:
if return_code is not None and return_code < 0:
print('ERROR running juggler ({})!'.format(opt))
print('ERROR running eicrecon ({})!'.format(opt))
exit(1)
exit(1)
process = subprocess.run(['rootls', '-t', rec_file])
process = subprocess.run(['rootls', '-t', rec_file])
Loading