Skip to content

Commit

Permalink
pass $XrdSecGSISRVNAMES to cmsRun. Fix #6953 (#6955) (#6956)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jan 7, 2022
1 parent ea6614c commit 23d2bf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/CMSRunAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,9 @@ def StripReport(report):
preCmd = 'export X509_USER_PROXY=%s; ' % os.getenv('X509_USER_PROXY')
# needed for root problem with $HOME/.root.mimes, #6801
preCmd += 'export HOME=${HOME:-$PWD}; '
# needed for accessing EOS at RAL (Echo). See https://ggus.eu/index.php?mode=ticket_info&ticket_id=155272
if os.getenv('XrdSecGSISRVNAMES'):
preCmd += 'export XrdSecGSISRVNAMES=%s; ' % os.getenv('XrdSecGSISRVNAMES')
print("==== %s Execution started at %s ====" % (applicationName, time.asctime(time.gmtime())))
if not options.scriptExe :
cmd = 'cmsRun -p PSet.py -j FrameworkJobReport.xml'
Expand Down

0 comments on commit 23d2bf4

Please sign in to comment.