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

UUID does not work on SLC6 #107

Closed
swertz opened this issue Mar 25, 2019 · 2 comments
Closed

UUID does not work on SLC6 #107

swertz opened this issue Mar 25, 2019 · 2 comments

Comments

@swertz
Copy link

swertz commented Mar 25, 2019

PlotIt uses Linux's built-in UUID definitions, which seem to have changed since Linux 3, so it works fine on ingrid's and lxplus CC7/SLC7, but for centres that are stuck in the middle ages there's no way to build it.

Since we link with boost anyway one solution would be to change to use boost::uuid.

Opinions?

What surprises me is that it worked fine in 2015/2016 when ingrid was still running SLC6...

@pieterdavid
Copy link
Member

I think I compiled it a few months ago on SLC6 (ingrid-ui2) still without problems... no objection to changing to the boost one, though (keep in mind that boost on SLC6 is quite ancient too, and the CMS-bundled one only slightly less so, iirc - but the uuid library probably hasn't changed much recently). For my curiosity: why does plotIt actually need uuid?

@swertz
Copy link
Author

swertz commented Mar 25, 2019

Ok, it looks like UI2 uses Linux 3.1 while the machine I have to work on has Linux 2.6 🥇

It seems it's used as an index in a map to cache the histograms (and to name the histograms created with TTree:Draw in "tree" mode): https://github.com/cp3-llbb/plotIt/blob/master/src/plotIt.cc#L1549,L1588

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

No branches or pull requests

2 participants