Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crab submity --dryrun fails for CMSSW_12 in v3.211125 #5121

Closed
belforte opened this issue Nov 30, 2021 · 3 comments
Closed

crab submity --dryrun fails for CMSSW_12 in v3.211125 #5121

belforte opened this issue Nov 30, 2021 · 3 comments

Comments

@belforte
Copy link
Member

reference:
https://hypernews.cern.ch/HyperNews/CMS/get/computing-tools/6244/1.html

oddily it works with CMSSW_10

problem should come from

command = 'sh CMSRunAnalysis.sh ' + opts

@belforte
Copy link
Member Author

things are trickier than I though,
if I stop crab submit --dryrun just before that line, an run sh CMSRunAnalysis.sh in the directory which it created and with these two env vars

os.environ.update({'CRAB3_RUNTIME_DEBUG': 'True', '_CONDOR_JOB_AD': 'Job.submit'})

then it works .
I suspect that the execution from --dryrun in not done in a clean environment, but n the CRABClient environment. So mixing a python3 CMSSW with a python2 WMCore.
Will try to make it clean.

@belforte
Copy link
Member Author

looks like it was that !

@belforte
Copy link
Member Author

still, I'd rather like an implementation based on preparelocal, where the environment is better controlled, tests are reproducible etc. ref #5114 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant