mache.deploy.spack.SpackDeployResult

class mache.deploy.spack.SpackDeployResult(compiler: str, mpi: str, env_name: str, spack_path: str, view_path: str, activation: str, load_activation: str = '')[source]

Result of deploying a Spack environment for one toolchain pair.

activation is always the dynamic form (source setup-env.sh plus spack env activate), which hooks can run before the captured activation exists. load_activation is what the generated load scripts use: a source of the captured activate.sh when spack.activation is captured (the default), otherwise the same as activation.

__init__(compiler: str, mpi: str, env_name: str, spack_path: str, view_path: str, activation: str, load_activation: str = '') → None

Methods

__init__(compiler, mpi, env_name, ...[, ...])

Attributes

load_activation

compiler

mpi

env_name

spack_path

view_path

activation