-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic recipe for OpenFOAM-8 (just MC on Eiger) (#60)
adds a recipe for creating an image containing OpenFOAM Foundation v8 on Eiger, that: - builds `openfoam-org@8` - provides module `openfoam/8` - provides two views, `openfoam` for the average user that just need the package, and `develop` for users that needs dependencies to build `openfoam-org` from scratch on their own note: `openfoam-org@8` provided by the spack package is not the very last tagged version on the GitHub repo. I already played with it and I might have a solution to adapt this recipe to actually build a custom tag. But I will take care of it in a separate PR.
- Loading branch information
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bootstrap: | ||
spec: gcc@12 | ||
gcc: | ||
specs: | ||
- gcc@12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |