A TUI utility for creating test installations using Spack environment chaining
Project description
EMCEnvChainer
The EMCEnvChainer utility allows NOAA developers to build their own copies of packages (i.e., model app dependencies) on top of existing spack-stack installations. It does so using Spack's environment chaining feature. Only the specifically requested package(s) and corresponding dependents need to be rebuilt, therefore as much of the existing installation as possible is reused, thereby reducing overall installation time and minimizing configuration differences (versions, build options) between the base and user software stacks.
The utility will automatically identify which platform (RDHPCS systems + Acorn) it is running on, and identify available base spack-stack installations, including the ones associated with the UFS Weather Model head of develop.
Installation & usage
To use the utility, install it, invoke the emcenvchainer command, and follow the prompts:
pip3 install emcenvchainer
emcenvchainer
After the installation is complete, instructions are provided for accessing the hybrid (base+user) stack. In short, Lmod module files and spack-stack metamodules for accessing the base and user packages are installed in a single location in the user's space (i.e., $MODULEPATH should not include the original spack-stack installation, only the one associated with the user's newly built spack-stack environment).
[!NOTE] This utility relies on Spack's built-in environment chaining capabilities. The ability to chain environments with Spack/spack-stack in some circumstances depends on using the same Python version/installation as the one that generated the main spack-stack installation. The Python versions/installations used to install each spack-stack environment on each platform are not particularly well documented or necessarily consistent. If you find in the concretization output that Spack does not reuse existing packages from the base installation in cases where it should (
[^]in the concretization output indicates successful reuse of a package from the upstream/base installation), please reach out to the spack-stack maintainers for your HPC platform (typically EPIC; see https://spack-stack.readthedocs.io/en/latest/PreConfiguredSites.html) or create a spack-stack issue: https://github.com/JCSDA/spack-stack/issues/new/choose.
To override the automatic platform detection, export the SITE_OVERRIDE environment variable:
SITE_OVERRIDE=ursa emcenvchainer
[!IMPORTANT] xterm support must be enabled (such as for PuTTY, Tectia/sshg3, SecureCRT) or the utility will immediately fail with an error.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emcenvchainer-0.3.0.tar.gz.
File metadata
- Download URL: emcenvchainer-0.3.0.tar.gz
- Upload date:
- Size: 85.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c398cd9ad52421479f40d6020ce5fa04a864faccd41d2a78b8a92452bcfe1e43
|
|
| MD5 |
92d71137e1bc2969bbfb85f254bcf3aa
|
|
| BLAKE2b-256 |
1a5a0e34f55c8aaa24c2ce0f619ff39b8d93c9586a879284fbaf6b1cc4f7268d
|
Provenance
The following attestation bundles were made for emcenvchainer-0.3.0.tar.gz:
Publisher:
publish_pypi.yml on AlexanderRichert-NOAA/EMCEnvChainer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
emcenvchainer-0.3.0.tar.gz -
Subject digest:
c398cd9ad52421479f40d6020ce5fa04a864faccd41d2a78b8a92452bcfe1e43 - Sigstore transparency entry: 938287697
- Sigstore integration time:
-
Permalink:
AlexanderRichert-NOAA/EMCEnvChainer@04703bc1d392468a8b68c2afbd455bb8839cc6fc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/AlexanderRichert-NOAA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@04703bc1d392468a8b68c2afbd455bb8839cc6fc -
Trigger Event:
release
-
Statement type:
File details
Details for the file emcenvchainer-0.3.0-py3-none-any.whl.
File metadata
- Download URL: emcenvchainer-0.3.0-py3-none-any.whl
- Upload date:
- Size: 42.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a56181109799a2cdac10e9021a98820eba38ab97ebad864c94ee119537cbdd9
|
|
| MD5 |
300b7b7413beba3abad8886caac84a2e
|
|
| BLAKE2b-256 |
e725480339e6a86722f60f2728d0274dc8230347d1c0b49894fa884192dd690f
|
Provenance
The following attestation bundles were made for emcenvchainer-0.3.0-py3-none-any.whl:
Publisher:
publish_pypi.yml on AlexanderRichert-NOAA/EMCEnvChainer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
emcenvchainer-0.3.0-py3-none-any.whl -
Subject digest:
3a56181109799a2cdac10e9021a98820eba38ab97ebad864c94ee119537cbdd9 - Sigstore transparency entry: 938287709
- Sigstore integration time:
-
Permalink:
AlexanderRichert-NOAA/EMCEnvChainer@04703bc1d392468a8b68c2afbd455bb8839cc6fc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/AlexanderRichert-NOAA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@04703bc1d392468a8b68c2afbd455bb8839cc6fc -
Trigger Event:
release
-
Statement type: