-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spack: update and fix dependencies for nvtx/roctracer
- add dependency on `roctracer-dev` when(+rocm+nvtx) - conflict +nvtx when neither rocm nor cuda is enabled
- Loading branch information
1 parent
f63e1cd
commit d931ab6
Showing
1 changed file
with
3 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -102,7 +102,7 @@ class Sirius(CMakePackage, CudaPackage, ROCmPackage): | |
"profiler", default=True, description="Use internal profiler to measure execution time" | ||
) | ||
variant( | ||
"nvtx", default=False, description="Use NVTX profiler" | ||
"nvtx", default=False, description="Use NVTX/ROCTX profiler" | ||
) | ||
|
||
depends_on("[email protected]:", type="build") | ||
|
@@ -147,6 +147,7 @@ class Sirius(CMakePackage, CudaPackage, ROCmPackage): | |
depends_on("nlcglib+cuda", when="+nlcglib+cuda") | ||
|
||
depends_on("[email protected]:+mpi", when="+vdwxc") | ||
depends_on("roctracer-dev", when="+nvtx+rocm") | ||
|
||
depends_on("scalapack", when="+scalapack") | ||
|
||
|
@@ -165,6 +166,7 @@ class Sirius(CMakePackage, CudaPackage, ROCmPackage): | |
conflicts("^[email protected]") # known to produce incorrect results | ||
conflicts("+single_precision", when="@:7.2.4") | ||
conflicts("+scalapack", when="^cray-libsci") | ||
conflicts("+nvtx", when="~cuda~rocm") | ||
|
||
# Propagate openmp to blas | ||
depends_on("openblas threads=openmp", when="+openmp ^openblas") | ||
|