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

Add TH2I & TH1I #3

Merged
merged 5 commits into from
May 20, 2022
Merged

Add TH2I & TH1I #3

merged 5 commits into from
May 20, 2022

Conversation

pmandrik
Copy link
Contributor

@pmandrik pmandrik commented May 6, 2022

Following comment:
cms-sw/cmssw#37665 (comment)

add TH2I to the same places where TH2S is.

@pmandrik pmandrik changed the title Add TH2I Add TH2I & TH1I May 6, 2022
@mmusich
Copy link

mmusich commented May 17, 2022

@pmandrik @emanueleusai what's the plan to merge this for production.
It's needed for cms-sw/cmssw#37860 and cms-sw/cmssw#37836.

@sroychow FYI

@emanueleusai
Copy link
Member

We will follow up on this asap

@pmandrik
Copy link
Contributor Author

pmandrik commented May 18, 2022

For my memory, at the moment trying to compile old GUI at lxplus as following (cms-sw/cmssw#33053 (comment)) :

ssh cmsdev20.cern.ch
git clone [email protected]:cms-sw/cmsdist -b comp_gcc630
git clone [email protected]:cms-sw/pkgtools -b V00-33-XX
# update cmsdist/dqmgui.spec to use tag from dev128 branch where this PR is included
./pkgtools/cmsBuild --repo comp -a slc7_amd64_gcc630 -i w -j 10 build dqmgui

@pmandrik
Copy link
Contributor Author

Hi, @mmusich ,
we have a following problem to compile the old gui with this PR due to error:
./DQM/serverext.cc:947:73: error: 'DQM_PROP_TYPE_TH2I' is not a member of 'DQMNet'
: type == DQMNet::DQM_PROP_TYPE_TH2I ? "TH2I"

because the environment to build old gui is defined in:
https://github.com/cms-sw/cmsdist/blob/comp_gcc630/dqmgui.spec
from my understanding looks like normally we need an DQMNet update with TH2I backported to CMSSW_7_6_X.

I think, @smuzaffar could clarify.

@mmusich
Copy link

mmusich commented May 19, 2022

Hi @pmandrik,

from my understanding looks like normally we need an DQMNet update with TH2I backported to CMSSW_7_6_X.

Why 7.6.x in particular?

@mmusich
Copy link

mmusich commented May 19, 2022

Can't this line

https://github.com/cms-sw/cmsdist/blob/5555bbbb544e4c99aa5587e53d13586991ad399d/dqmgui.spec#L15

Be updated to use something more modern?

@smuzaffar
Copy link

./pkgtools/cmsBuild --repo comp -a slc7_amd64_gcc630 -i w -j 10 build dqmgui

yes you can, but moving to latest DQMServices might bring in other issues e.g. it might not compile with gcc 6.3 any more. I would suggest that if you still want to support the old dqmgui then get http://cmsrep.cern.ch/cgi-bin/cmspkg/SOURCES/comp/541fd3225b47e8d956e39722284df159/DQMCore.tar.gz which is a cached version of https://github.com/cms-sw/cmsdist/blob/5555bbbb544e4c99aa5587e53d13586991ad399d/dqmgui.spec#L15 and add a new github repository e.g cms-DQM/cmssw-dqm using then contents of DQMCore.tar.gz and add the extra code to support TH2I and TH1I in cms-DQM/cmssw-dqm and update the https://github.com/cms-sw/cmsdist/blob/5555bbbb544e4c99aa5587e53d13586991ad399d/dqmgui.spec#L15 to use new cms-DQM/cmssw-dqm instead of checking of code from cmssw.

@pmandrik
Copy link
Contributor Author

Hi, @smuzaffar, thank you, I will follow your advice adding DQMCore code to the GUI repo.

@pmandrik pmandrik merged commit b282784 into cms-DQM:index128 May 20, 2022
pmandrik added a commit to pmandrik/cmsdist that referenced this pull request May 20, 2022
Remove checking of code from cmssw in old dqmgui package following discussion:
cms-DQM/dqmgui_prod#3

Compiled successfully locally.
muhammadimranfarooqi pushed a commit to cms-sw/cmsdist that referenced this pull request May 23, 2022
Remove checking of code from cmssw in old dqmgui package following discussion:
cms-DQM/dqmgui_prod#3

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

Successfully merging this pull request may close these issues.

4 participants