Skip to content
Peter Scheibel edited this page Feb 16, 2022 · 20 revisions

Attendees

  • Peter Scheibel
  • Greg Becker
  • Mark Krentel
  • Massimiliano Culpo
  • Nick Sly (LANL)
  • Tammy Dahlgren
  • Timothy Brown
  • Wileam Phan

Agenda

  • (Nick) upgrading Cray system (sles sp1 -> sp2 update, changes .so version on the system)

    • This broke many build cache packages: those were linking against the older .so versions (and they were linking to the .so.x file rather than the .so file)
    • Furthermore, that detail wasn't recorded in the hash
    • Note: if this underlying .so was represented by an external, and that external version were updated alongside the .so version, then the binary cache could be invalidated
    • libabigail could be used to compare the .so versions to check if they're ABI compatible
    • In this case the package, 'libwebp', is needed by 'libjpeg-turbo', so one could record libwebp as a dependency of libjpeg-turbo
    • Another option: record the minor version update in the OS, and allow the user to force Spack to consider it different
      • This is probably more straightforward
      • Generally though since the user has to manually resolve this, it would be similar to removing the cache (although if one removes the cache, and there is a system rollback, then you'd have to undo the cache removal)
  • (Wileam) Continuation from https://github.com/spack/spack/wiki/Telcon%3A-2022-01-26: vendored dependencies

    • (Andrew) nvhpc installs CUDA, so which CUDA is being used if I install nvhpc with Spack?
    • (Wileam) Should nvhpc be modularized like oneAPI? This would partially solve the embedded CUDA issue, I think
    • (Greg) should we be manually removing these packages?
    • It turns out that generally if a package depends on CUDA and builds with nvhpc, we will be linking the Spack-built CUDA
    • So it turns out this more of a question of "I have nvhpc and it installs CUDA, how do I use that CUDA" vs. "nvhpc adds a CUDA and needs it, but I don't want it"
      • The latter problem is harder to solve, but doesn't seem to actually be the issue in this case (it would only be an issue if nvhpc needed that CUDA)

Possible agenda items next week

Clone this wiki locally