benchpark setup: use preexisting spack#1323
Conversation
|
@michaelmckinsey1 I've confirmed that the spack instance designated in (that also means for example that a user can modify the Spack instance in |
michaelmckinsey1
left a comment
There was a problem hiding this comment.
Are you still looking to complete these todo's from the description?
- If we use a newer Ramble, then benchpark can add ~spack_install_compilers to the ramble.yaml package manager config, and then I think we can avoid any modifications of the shared spack instance
- Docs for the feature
| pkg_str = f"""\ | ||
| export SPACK_USER_CACHE_PATH={spack_user_cache_path} | ||
| export SPACK_DISABLE_LOCAL_CONFIG=1 | ||
| . {spack_location}/share/spack/setup-env.sh | ||
| """ |
There was a problem hiding this comment.
small nit. The other branch of this if statement basically does the same logic, can we refactor these lines to be after the if-elif?
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1323 +/- ##
===========================================
+ Coverage 62.43% 64.20% +1.77%
===========================================
Files 49 49
Lines 3780 3819 +39
Branches 326 338 +12
===========================================
+ Hits 2360 2452 +92
+ Misses 1406 1348 -58
- Partials 14 19 +5
🚀 New features to boost your workflow:
|
Add a
--spackoption tobenchpark setupLike
when setting up a second experiment, the user would not specify
--spack:In this case Benchpark does no configuration of the Spack instance (so for example has no awareness of the benchpark repository). It creates a symlink to the specified Spack instance. The idea is that someone can use any checkout they want of Spack (e.g. a personal branch) and configure it however they like.
If this were used to share installs with several workspaces, or access a binary cache, the experiment builds would not be repeatable unless this Spack instance configured
concretizer:reuse:false.TODOs
~spack_install_compilersto theramble.yamlpackage manager config, and then I think we can avoid any modifications of the shared spack instance