-
Notifications
You must be signed in to change notification settings - Fork 5
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
Failed to build dqmgui #13
Comments
Hi @ywkao https://twiki.cern.ch/twiki/bin/viewauth/CMS/DQMGuiForUsers#How_to_set_up_your_own_DQM_GUI_f and make sure in your OpenStack VM that the following packages are installed, by doing: (not needed on lxplus) I have just tried on lxplus with the latest deployment stable version (HG2305a) and it worked out of the box. |
Hi @jfernan2, Thank you for your response. Sorry for not making it clear first time. We would like to add a new feature in the dqm gui. That is why we need to build from this repository. We have successfully built a DQM GUI following the twiki page before. The new feature we want to add is to display TH2Poly histograms. We implement the idea in DQM services in a user branch of cmssw [1] and store a TH2Poly object in a DQM root file [2][3]. However, the hexagonal histogram fails to display on DQM GUI [4]. We noticed that the issue of the new feature might be related to the code here because TH2Poly needs to be recognizable. Similar to [1], a new type of MonitorElement is implemented in a user branch [5]. It will be great if there is a way to test the branch. Would you have a recommendation on how to best proceed on this front? Best regards, [2] A screenshot of a hexagonal histogram with pedestal values [3] A DQM root file: /afs/cern.ch/user/y/ykao/work/public/example_HGCAL_DQM/DQM_V0001_HGCAL_R000123465.root [5] ywkao@09a4a17 |
Thanks @ywkao , now I understand. The commands listed in the README work fine for me in lxplus, so I believe this is an issue of OpenStack/VM and the way it compiles, indeed my (successful) log is identical to yours (with the same warnings) up to your lines: < c++: internal compiler error: Killed (program cc1plus) and then in my case the build goes on...until the end. Since the error message you quote is a bit cryptic or meaningless at least, could you try to rerun again with --debug option to see if we get something else? ./pkgtools/cmsBuild --repo comp -a slc7_amd64_gcc630 -i x -j 10 build dqmgui --debug |
Hi @jfernan2, Thank you for the information. Log messages on the virtual machine with the debug option can be found here [1][2]. The contents are almost the same as the previous ones. I give it a try on lxplus7, and the command works for me as well! The corresponding log file can be found here [3]. Then, I move to the next step, following the README.md. Yet, I do not see any rpm files under the directory,
A few questions I have:
[1] On the virtual machine, the log file in |
Hi @ywkao
being WHATEVER = th2poly ???
rpm2cpio myrpmfile.rpm | cpio -idmv being myrpmfile.rpm the new rpm built with you modified dqmgui code HTH |
Hi @jfernan2, We are considering testing with a few more wafer maps on the DQM GUI. If we want to implement the feature in the cmssw, shall we create two PRs? One on this repository and the other on the cmssw? Best regards, [1] https://ykao.web.cern.ch/ykao/raw_data_handling/hgcal_dqm_gui/screenshot_th2poly_successfully_displayed.png
|
Hi @ywkao Yes, you need two PRs, one in cmssw to introduce THPoly in DQM production root files and the other PR in dmqgui_prod itself. Please be sure to link in the comments both PRs somehow with a reference to this issue for example, so that the @cms-sw/dqm-l2 managers can be aware of this test and procedure. Thanks |
Can you be out of memory at your machine? You may try to run using one thread with -j 1 option. |
@ywkao and anyone interested, I know it's been a long time, but you can always follow the (kind of) updated instructions here (for CC7): https://docs.google.com/document/d/1ue7wWEcBJUf-JCJ3qtDVwlWAZ9-iTOm7TnoFYxPjCKU/edit We tested this procedure recently. |
Dear cms-DQM experts,
Following the instructions on README.md [1], I could not build a dqmgui on a CC7 virtual machine [2]. When executing the command [3] in a clean environment (i.e., without cmsenv), error messages will appear, as shown in this log file [4] and on the screen [5]. Are there any suggestions on how to fix the problem?
Best regards,
Yu-Wei
[1] https://github.com/cms-DQM/dqmgui_prod/blob/index128/README.md
In cmsdist/dqmgui.spec, one line is modified as follows:
[2] A screenshot of a virtual machine on OpenStack service
https://ykao.web.cern.ch/ykao/raw_data_handling/hgcal_dqm_gui/screenshot_virtual_machine_cc7_openStackService.png
The virtual machine is built following the two instructions:
https://clouddocs.web.cern.ch/tutorial/index.html
https://twiki.cern.ch/twiki/bin/viewauth/CMS/DQMGuiForUsers#How
[3] Executed command
[4] Log messages
https://ykao.web.cern.ch/ykao/raw_data_handling/hgcal_dqm_gui/log_dqmgui_prod.txt
[5] Error messages on screen
The text was updated successfully, but these errors were encountered: