1.1.2.2. pmpm.env_variant_generator module#
Generates different variants of YAML environments.
Examples:
mkl vs. nomkl
mpich vs. openmpi vs. nompi
- pmpm.env_variant_generator.main(path: Path, *, output: Path, mkl: bool = False, mpi: Literal['nompi', 'mpich', 'openmpi'] = 'nompi', os: Literal['linux', 'macos'] = 'linux') None [source]#
Generate the environment variants.
This is not supposed to be general-purposed, but designed only for the examples in this package.
- Parameters:
path – Path to the YAML file.
output – Path to the output YAML file.
mkl – Whether to generate the MKL variant.
mpi – MPI implementation to use.
os – Operating system the environment is for.