diff --git a/config.yaml b/config.yaml index ca950ba5..6f09d303 100644 --- a/config.yaml +++ b/config.yaml @@ -82,6 +82,13 @@ uenvs: deploy: eiger: [zen2] develop: False + # OpenFOAM Foundation + openfoam-org: + "8": + recipes: + zen2: 8/mc + deploy: + eiger: [zen2] prgenv-gnu: "23.11": recipes: diff --git a/recipes/openfoam-org/8/mc/compilers.yaml b/recipes/openfoam-org/8/mc/compilers.yaml new file mode 100644 index 00000000..c3bc6ac6 --- /dev/null +++ b/recipes/openfoam-org/8/mc/compilers.yaml @@ -0,0 +1,5 @@ +bootstrap: + spec: gcc@12 +gcc: + specs: + - gcc@12 diff --git a/recipes/openfoam-org/8/mc/config.yaml b/recipes/openfoam-org/8/mc/config.yaml new file mode 100644 index 00000000..15103cef --- /dev/null +++ b/recipes/openfoam-org/8/mc/config.yaml @@ -0,0 +1,7 @@ +name: openfoam +description: OpenFOAM Foundation v8 +store: /user-environment +spack: + repo: https://github.com/spack/spack.git + commit: releases/v0.21 +modules: true diff --git a/recipes/openfoam-org/8/mc/environments.yaml b/recipes/openfoam-org/8/mc/environments.yaml new file mode 100644 index 00000000..802e9ed2 --- /dev/null +++ b/recipes/openfoam-org/8/mc/environments.yaml @@ -0,0 +1,13 @@ +openfoam-env: + compiler: + - toolchain: gcc + spec: gcc@12 + mpi: + spec: cray-mpich + unify: true + specs: + - openfoam-org@8 + views: + openfoam: + develop: + exclude: ['openfoam-org'] diff --git a/recipes/openfoam-org/8/mc/modules.yaml b/recipes/openfoam-org/8/mc/modules.yaml new file mode 100644 index 00000000..89cc4550 --- /dev/null +++ b/recipes/openfoam-org/8/mc/modules.yaml @@ -0,0 +1,13 @@ +modules: + default: + arch_folder: false + roots: + tcl: /user-environment/modules + tcl: + all: + autoload: none + hash_length: 0 + projections: + openfoam-org: "openfoam/{version}" + include: [openfoam-org] + exclude: ["%gcc@12", "%gcc@7"]