First (?) build on Debian is a success. #65
brettviren
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Congrats on first release!
Right on the heels of Heidi's build on gpvm, I built on Debian 12.
In general, it went very smoothly.
Minor Issues
I hit two small issues:
If someone understands this (to me) unexpected behavior, please let me know.
After following phlex's install directions more closely to the letter and building inside a Spack Environment things went smooth until the 2nd minor issue.
mesafailed due to missing/usr/bin/llvm-config. I had Debian'sllvm-14andllvm-19packages installed but not the unnumberedllvmpackage which provides the symlink to one of the versioned llvm-config's. Installing this package and repeating the spack install finished.Build stats
Some stats
Some observations
Watching
topI notice a woefully small amount of parallel building for most packages. The main of culprit of slow serial processing seems to is autoconf's configure. Eg,tartakes 32s to configure and 1.4s to build.Even when a compilation phase was entered, it was rare to see all 64 cores light up. Peak average load was briefly as high as 12 or 20. The fast majority of compilation was 1 or 2 cores. It tells me 64 cores is not buying all that much compared to phlex's suggested 12.
It would be nice if Spack could execute its graph in parallel.
Some thoughts for future building
The phlex build instructions are good to set us up for success. But, there are two additional Spack config issues we should consider before starting a build
How to use a Spack configuration "scope" to avoid "polluting"
~/.spack. This matters when one has more than one Spack instance in ones life. Heidi also raised this issue in her build report.Configure the Spack
target, or add, egtarget=x86_64tospack installcommand line to avoid building binaries that only work on the build host hardware architecture.Beta Was this translation helpful? Give feedback.
All reactions