Telcon: 2023 06 07
Peter Scheibel edited this page Jun 7, 2023
·
20 revisions
Wednesday June 7th, 9am PT (UTC -7:00)
- 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
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
- Suggestion: customize the config dir inside
- 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
- I cannot
- 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 abovespack cd <the-package>
, wherespack-build-out.txt
) -
spack -d install ...
will also generate logs of the compiler wrappers in you're CWD
- If I look at the "post-mortem" i.e.
- 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 theextra_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 thegcc
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 addlibgomp
when executing this step)
- The Spack gcc package modifies this automatically in the
- 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 runspack config blame packages
- Examples of ROCmPackage classes include:
lbann
,raja
- Want to expand it to include HIP support