Skip to content
Snippets Groups Projects

Including two tests for HLTCalo in GPU running

Merged Denis Oliveira Damazio requested to merge damazio/athena:GPUTest.20240313_1210 into main
2 unresolved threads
2 files
+ 94
0
Compare changes
  • Side-by-side
  • Inline
Files
2
#!/usr/bin/env python
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# art-description: Trigger Calo GPU test on data
# art-type: build
# art-include: main/Athena
# Skipping art-output which has no effect for build tests.
# If you create a grid version, check art-output in existing grid tests.
# art-architecture: '#&nvidia'
# art-output: *.txt
# art-output: *.log
# art-output: log.*
# art-output: *.out
# art-output: *.err
# art-output: *.log.tar.gz
# art-output: *.new
# art-output: *.json
# art-output: *.root
# art-output: *.pmon.gz
# art-output: *perfmon*
# art-output: prmon*
# art-output: *.check*
from TrigValTools.TrigValSteering import Test, ExecStep, CheckSteps
ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.input = 'data'
ex.threads = 1
ex.flags = ['CaloRecGPU.GlobalFlags.UseCaloRecGPU=True',
'Trigger.triggerMenuSetup="Dev_pp_run3_v1_TriggerValidation_prescale"',
'Trigger.doLVL1=True']
ex.args = '--CA'
test = Test.Test()
test.art_type = 'build'
test.exec_steps = [ex]
test.check_steps = CheckSteps.default_check_steps(test)
# Overwrite default MessageCount settings
    • Also, I don't think you need these MessageCount overrides. Take a look at the other _grid tests in this package for a template.

Please register or sign in to reply
# We are trying to lower the limits step by step
# Ultimately there should be no per-event messages
msgcount = test.get_step("MessageCount")
msgcount.thresholds = {
'WARNING': 400, # Remaining warnings are mostly from ATLASRECTS-3866
'INFO': 600,
'other': 20
}
msgcount.required = True # make the test exit code depend on this step
import sys
sys.exit(test.run())
Loading