forked from sandialabs/spack-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration for Sunspot. (sandialabs#521)
- Loading branch information
1 parent
642ccb8
commit cfedb98
Showing
9 changed files
with
94 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
concretizer: | ||
unify: true | ||
unify: false | ||
reuse: false |
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,19 @@ | ||
compilers: | ||
- compiler: | ||
spec: [email protected] | ||
paths: | ||
cc: /soft/restricted/CNDA/updates/2022.12.30.001/oneapi/compiler/trunk-20230201/compiler/linux/bin/icx | ||
cxx: /soft/restricted/CNDA/updates/2022.12.30.001/oneapi/compiler/trunk-20230201/compiler/linux/bin/icpx | ||
f77: /soft/restricted/CNDA/updates/2022.12.30.001/oneapi/compiler/trunk-20230201/compiler/linux/bin/ifx | ||
fc: /soft/restricted/CNDA/updates/2022.12.30.001/oneapi/compiler/trunk-20230201/compiler/linux/bin/ifx | ||
flags: {} | ||
operating_system: sles15 | ||
target: x86_64 | ||
modules: | ||
- gcc/11.2.0 | ||
- oneapi/eng-compiler/2022.12.30.003 | ||
- mpich/51.2/icc-all-pmix-gpu | ||
- libfabric/1.15.2.0 | ||
- intel_compute_runtime/release/agama-devel-551 | ||
environment: {} | ||
extra_rpaths: [] |
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,2 @@ | ||
config: | ||
build_jobs: 32 |
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,35 @@ | ||
packages: | ||
mpich: | ||
require: "@51.2" | ||
buildable: false | ||
externals: | ||
- spec: "[email protected]" | ||
prefix: /soft/restricted/CNDA/updates/mpich/51.2/mpich-ofi-all-icc-default-pmix-gpu-drop51 | ||
modules: | ||
- mpich/51.2/icc-all-pmix-gpu | ||
m4: | ||
require: "@1.4.19" | ||
buildable: false | ||
externals: | ||
- spec: "[email protected]" | ||
prefix: /usr | ||
libffi: | ||
require: "@3.2.1" | ||
buildable: false | ||
externals: | ||
- spec: "[email protected]" | ||
prefix: /usr | ||
nalu-wind: | ||
require: "~trilinos-solvers" | ||
trilinos: | ||
require: "+tpetra+kokkos" | ||
boost: | ||
version: [1.78.0] | ||
variants: ~shared+pic | ||
all: | ||
compiler: [intel] | ||
variants: build_type=Release +mpi | ||
providers: | ||
mpi: [mpich] | ||
blas: [netlib-lapack] | ||
lapack: [netlib-lapack] |
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,9 @@ | ||
spack: | ||
include: | ||
- include.yaml | ||
concretizer: | ||
unify: false | ||
reuse: false | ||
view: false | ||
specs: | ||
- 'exawind+ninja+hypre+amr_wind_gpu~nalu_wind_gpu+sycl' |
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 |
---|---|---|
|
@@ -44,9 +44,12 @@ class Exawind(SMCMakeExtension, CudaPackage, ROCmPackage): | |
description="Enable Umpire") | ||
variant("tiny_profile", default=False, | ||
description="Turn on AMR-wind with tiny profile") | ||
variant("sycl", default=False, | ||
description="Enable SYCL backend for AMR-Wind") | ||
|
||
conflicts("+amr_wind_gpu", when="~cuda~rocm") | ||
conflicts("+amr_wind_gpu", when="~cuda~rocm~sycl") | ||
conflicts("+nalu_wind_gpu", when="~cuda~rocm") | ||
conflicts("+nalu_wind_gpu", when="+sycl") | ||
|
||
for arch in CudaPackage.cuda_arch_values: | ||
depends_on("amr-wind+cuda cuda_arch=%s" % arch, when="+amr_wind_gpu+cuda cuda_arch=%s" % arch) | ||
|
@@ -67,16 +70,17 @@ class Exawind(SMCMakeExtension, CudaPackage, ROCmPackage): | |
depends_on("[email protected]:", when="+openfast") | ||
depends_on("[email protected]:", when="^nalu-wind+openfast") | ||
depends_on("[email protected]:", when="^amr-wind+openfast") | ||
depends_on("nalu-wind+hypre", when="+hypre+amr_wind_gpu+nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre", when="+hypre~amr_wind_gpu~nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre2", when="+hypre~amr_wind_gpu+nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre2", when="+hypre+amr_wind_gpu~nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre~hypre2", when="+hypre+amr_wind_gpu+nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre~hypre2", when="+hypre~amr_wind_gpu~nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre2~hypre", when="+hypre~amr_wind_gpu+nalu_wind_gpu") | ||
depends_on("nalu-wind+hypre2~hypre", when="+hypre+amr_wind_gpu~nalu_wind_gpu") | ||
depends_on("amr-wind+hypre", when="+hypre") | ||
depends_on("amr-wind~hypre", when="~hypre") | ||
depends_on("nalu-wind~hypre", when="~hypre") | ||
depends_on("trilinos+ninja", when="+ninja") | ||
depends_on("nalu-wind+ninja", when="+ninja") | ||
depends_on("amr-wind+ninja", when="+ninja") | ||
depends_on("amr-wind+sycl", when="+amr_wind_gpu+sycl") | ||
# not required but added so these get picked up as a | ||
# direct dependency when creating snapshots | ||
depends_on("trilinos") | ||
|
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