Skip to content
Peter Scheibel edited this page Jun 7, 2023 · 20 revisions

Wednesday June 7th, 9am PT (UTC -7:00)

Attendees

  • Peter Scheibel (host)
  • Richarda Butler
  • Davide DelVento
  • Phil Regier
  • David Gomez
  • Jakov Petrina
  • Mark Krentel
  • Massimiliano Culpo
  • Tammy Dahlgren
  • Tyler Cruise
  • Wileam Phan
  • Akhil
  • Allen Sanderson
  • Brian Van Essen

Agenda

This meeting is just Q&A: there are no pre-planned general Spack topics

  • Davide: if I have two Spack instances, how do I isolate the configuration of each
    • Suggestion: customize the config dir inside ~/.spack based on the git commit of Spack itself
    • export SPACK_USER_CACHE_PATH=`pwd`/misc-cache export SPACK_DISABLE_LOCAL_CONFIG=true
    • Question: where is config written when you have export SPACK_DISABLE_LOCAL_CONFIG=true and you don't have an env
  • David: spack bootstrap examines PATH, which in my case includes /usr/sbin
    • I cannot ls that directory
    • Can Spack ignore items in PATH?
      • Moreover it examines every element of PATH even if an executable can be found in an earlier item
    • Peter: is it possible to edit PATH to edit Spack
  • Phil: in old-fashioned build systems using autoconf, there is a config.log
    • If I look at the "post-mortem" i.e. spack cd <the-package>, is config.log there
    • config.log should be live in the staging dir (you might need to cd to the stage root, which might be just above spack cd <the-package>, where spack-build-out.txt)
    • spack -d install ... will also generate logs of the compiler wrappers in you're CWD
  • Wileam: ping on https://github.com/spack/spack/pull/35919
    • How to rpath libgomp when using amdgcn
    • i.e. a gcc instance built with amdgcn support
    • If using it as a compiler in compilers.yaml, you can update the extra_rpaths field
    • If you want users to be able to invoke gcc themselves, then Davide suggested making your own wrapper that RPATHs the libgomp library directory
    • Massimiliano: there is a specs file in the gcc prefix (note: this is not a Spack Spec, but related to a GCC concept)
      • The Spack gcc package modifies this automatically in the write_rpath_specs post-install step (spack install gcc+amdgcn could modify add libgomp when executing this step)
  • Allen: working with a Spack-built package with +cuda and trilinos
    • Want to expand it to include HIP support
      • You may have to add several packages
      • spack external find --tag=rocm
    • Added some hip externals: to make sure Spack sees them, you can run spack config blame packages
    • Examples of ROCmPackage classes include: lbann, raja
Clone this wiki locally