forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvhpc: deploy 23.1 with CUDA 11.8 (#1654)
* neuron: deploy 9.0.a4 with fixes for NVHPC 23.1 * nmodl: deploy 0.5.c with fixes for NVHPC 23.1 and OpenMP offload * nopackage: snowflake8 --------- Co-authored-by: Filippo Spiga <[email protected]> Co-authored-by: Pramod Kumbhar <[email protected]> Co-authored-by: Andrew W Elble <[email protected]> Co-authored-by: Ioannis Magkanaris <[email protected]>
- Loading branch information
1 parent
b53c488
commit 688e240
Showing
7 changed files
with
52 additions
and
10 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 |
---|---|---|
|
@@ -75,8 +75,8 @@ spack: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- arm-forge | ||
- apptainer | ||
- bison | ||
|
@@ -90,10 +90,10 @@ spack: | |
- [email protected] | ||
# NVHPC 21.11 ships CUDA 11.5 (11.5.20211118 in version.json) | ||
- [email protected] | ||
# NVHPC 22.2 ships CUDA 11.6.0 (version.json) | ||
- [email protected] | ||
# NVHPC 22.3 ships CUDA 11.6.1 (version.json) | ||
- [email protected] | ||
# NVHPC 22.11 ship CUDA 11.8.0 (version.json) | ||
- [email protected] | ||
- [email protected] | ||
- darshan-runtime | ||
- darshan-util | ||
|
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ class Neuron(CMakePackage): | |
patch("patch-v800-cmake-nvhpc.patch", when="@8.0.0%nvhpc^[email protected]:") | ||
|
||
version("develop", branch="master") | ||
version("9.0.a4", commit="de2c927") | ||
version("9.0.a3", commit="afce1ef") | ||
version("9.0.a2", commit="89f7dab") | ||
version("9.0.a1", commit="b3c4b4f") | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,8 @@ class CudaPackage(PackageBase): | |
'50', '52', '53', | ||
'60', '61', '62', | ||
'70', '72', '75', | ||
'80', '86' | ||
'80', '86', '87', | ||
'89', '90' | ||
) | ||
|
||
# FIXME: keep cuda and cuda_arch separate to make usage easier until | ||
|
@@ -80,6 +81,11 @@ def cuda_flags(arch_list): | |
depends_on('[email protected]:', when='cuda_arch=80') | ||
depends_on('[email protected]:', when='cuda_arch=86') | ||
|
||
depends_on("[email protected]:", when="cuda_arch=87") | ||
|
||
depends_on("[email protected]:", when="cuda_arch=89") | ||
depends_on("[email protected]:", when="cuda_arch=90") | ||
|
||
# From the NVIDIA install guide we know of conflicts for particular | ||
# platforms (linux, darwin), architectures (x86, powerpc) and compilers | ||
# (gcc, clang). We don't restrict %gcc and %clang conflicts to | ||
|
@@ -107,10 +113,11 @@ def cuda_flags(arch_list): | |
# each release of a new cuda minor version. | ||
conflicts('%gcc@10:', when='+cuda ^cuda@:11.0') | ||
conflicts('%gcc@11:', when='+cuda ^cuda@:11.4.0') | ||
conflicts('%gcc@12:', when='+cuda ^cuda@:11.6') | ||
conflicts("%gcc@12:", when="+cuda ^cuda@:11.8") | ||
conflicts('%clang@12:', when='+cuda ^cuda@:11.4.0') | ||
conflicts('%clang@13:', when='+cuda ^cuda@:11.5') | ||
conflicts('%clang@14:', when='+cuda ^cuda@:11.6') | ||
conflicts('%clang@14:', when='+cuda ^cuda@:11.7') | ||
conflicts("%clang@15:", when="+cuda ^cuda@:11.8") | ||
|
||
# https://gist.github.com/ax3l/9489132#gistcomment-3860114 | ||
conflicts('%gcc@10', when='+cuda ^cuda@:11.4.0') | ||
|
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