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
added --sites options for runTheMatrix #31535
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31535/18518
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages: Configuration/PyReleaseValidation @chayanit, @cmsbuild, @wajidalikhan, @kpedro88, @jordan-martins can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+upgrade |
if len(self.run) is not 0: | ||
return ["file {0}={1} run={2} site=T2_CH_CERN".format(query_by, query_source, query_run) for query_run in self.run] | ||
return ["file {0}={1} run={2}{3}".format(query_by, query_source, query_run, site) for query_run in self.run] | ||
#return ["file {0}={1} run={2} ".format(query_by, query_source, query_run) for query_run in self.run] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need to keep this line?
#return ["file {0}={1} run={2} ".format(query_by, query_source, query_run) for query_run in self.run] | ||
else: | ||
return ["file {0}={1} site=T2_CH_CERN".format(query_by, query_source)] | ||
return ["file {0}={1}{2}".format(query_by, query_source, site)] | ||
#return ["file {0}={1} ".format(query_by, query_source)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need to keep this line?
merge |
Hello @smuzaffar, @silviodonato , this PR doesn't seem to remove a whitelist from CERN site. We have problem to read input for RelVals in 11_2_0_pre7. Can we revisit this? |
@chayanit , I did not want to change the default behavior of the script. So by default CERN site is selected. As mentioned int he description of the PR, running --site='' should allow to search all sites. If this behavior not working? |
@smuzaffar seems not, apparently it always looks for sample at CERN site and not others |
It works for me e.g running without
and with
|
Hi @smuzaffar , it doesn't work for us and we found this is caused by the default setting here
|
How can I reproduce it? |
are you calling runTheMatrix to generate the configuration or importing the MatrixUtils directly? If you are not using runTheMatrix then I would suggest to set environment variable CMSSW_DAS_QUERY_SITES='' |
Yes we run runTheMatrix to generate configuration |
Can you please share the runTheMatrix.py command you run? |
Sure, this is the command line we usually run for RelVal production |
I do not see |
Ah ok @smuzaffar you mean we have to put --sites='' explicitly in the command line? |
yes |
Can you show how explicitly? |
see the extra |
this option is not shown in runTheMatrix.py -h though should we include? |
are you sure that you are using a release where this option is available? If I run
|
Yeah now I saw the option is added to runTheMatrix.py script but it doesn't show up when run 'runTheMatrix.py --help' I'm doing it on 11_2_0_pre7 |
Seems to work for me
[dlange@lxplus757 dlange]$ scram p CMSSW_11_2_0_pre7
[dlange@lxplus757 dlange]$ cd CMSSW_11_2_0_pre7
[dlange@lxplus757 CMSSW_11_2_0_pre7]$ cmsenv
[dlange@lxplus757 CMSSW_11_2_0_pre7]$ runTheMatrix.py -h | grep -A3 site
--ibeos Use IB EOS site configuration
--sites=DASSITES Run DAS query to get data from a specific site
(default is T2_CH_CERN). Set it to empty string to
search all sites.
… On Oct 9, 2020, at 11:01 AM, Chayanit Asawatangtrakuldee ***@***.***> wrote:
Yeah now I saw the option is added to runTheMatrix.py script but it doesn't show up when run 'runTheMatrix.py --help' I'm doing it on 11_2_0_pre7
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
As requested here #22278 , added
--sites <site>
option torunTheMatrix.py
script to select a specific site for recycle data. Setting it to emptry string will allow to search all sites.This resolves #22278