Add support for LCG setup on Ubuntu 18.04
ubuntu-machine$ source CI/setup_lcg94.sh
sets up LCG for Ubuntu 18.04 from /cvmfs/sft.cern.ch/lcg/views/LCG_94/x86_64-ubuntu1804-gcc7-opt
.
Merge request reports
Activity
Hi, @pagessin. What's the member name of the runner?
As an aside, but related, building
acts-core
with LCG94 on Ubuntu 18.04 has some issues. According to @hgraslan, LCG94 may not be supported anymore.Maybe it's best we close this MR and open a new one targeting LCG95? Alternatively, we can keep this for history and create another MR for LCG95.
Edited by Vincent PascuzziThe CI error on ubuntu is something I just fixed in !744 (merged). The others are out-of-memory errors. Not sure what else to do here other than retry... :/
We're actually frequently running into the problem that the build takes too much memory and dies on shared runners, where we only use two cores anyway for this specific reason. I think this is really becoming a problem.
Edited by Paul Gessinger@pagessin I cannot allocate the time to investigate this right now, but here's how I'd do it:
- Run single-threaded verbose make/ninja with
CXX="/usr/bin/time --verbose <actual compiler>"
(or fancy cmake equivalent) to get a per-process resource usage log-
/usr/bin/time
is GNU time (on my system), which provides more interesting stats than the "time" shell built-in including peak memory consumption. You may need to install it first. - Don't forget to redirect the output into a text file, it may be too big for terminal history.
-
- Dive through the logs, find main peak memory consumption offenders (can also identify build time hogs this way FWIW).
- Re-run those commands with clang++9's
-ftime-trace
and examine the profile with speedscope to find out why the compiler is using so much time/memory. - Cross fingers that clang's overall performance characteristics are similar enough to GCC's that whatever build performance bottleneck we find and resolve there is the same problem that plagued our main GCC builds.
Edited by Hadrien Benjamin Grasland- Run single-threaded verbose make/ninja with
added 17 commits
-
978b72d1...76d37ebd - 15 commits from branch
acts:master
- d20b4e7a - Add support for LCG setup on Ubuntu 18.04
- 4bcbcb27 - Add support for multiple LCG versions
-
978b72d1...76d37ebd - 15 commits from branch
mentioned in commit 15c6dc80