-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting HIP device code running on GPU for spheral_cuda_test; revert …
…boost back to 1.74.0; rocmcc error mitigation for building older boost.
- Loading branch information
Showing
6 changed files
with
33 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
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ class Spheral(CachedCMakePackage, CudaPackage, ROCmPackage): | |
|
||
depends_on('[email protected]:', type='build') | ||
|
||
depends_on('boost +system +filesystem -atomic -container -coroutine -chrono -context -date_time -exception -fiber -graph -iostreams -locale -log -math -mpi -program_options -python -random -regex -test -thread -timer -wave +pic', type='build') | ||
depends_on('boost@1.74.0 +system +filesystem -atomic -container -coroutine -chrono -context -date_time -exception -fiber -graph -iostreams -locale -log -math -mpi -program_options -python -random -regex -test -thread -timer -wave +pic', type='build') | ||
|
||
depends_on('[email protected] +shared +pic', type='build') | ||
|
||
|
@@ -139,6 +139,7 @@ def initconfig_mpi_entries(self): | |
entries = [] | ||
if "+mpi" in spec: | ||
entries = super(Spheral, self).initconfig_mpi_entries() | ||
# When on cray / flux systems we need to tell CMAKE the mpi flag explicitly | ||
if "cray-mpich" in spec: | ||
for e in entries: | ||
if 'MPIEXEC_NUMPROC_FLAG' in e: | ||
|
@@ -152,7 +153,7 @@ def initconfig_hardware_entries(self): | |
|
||
if '+rocm' in spec: | ||
entries.append(cmake_cache_option("ENABLE_HIP", True)) | ||
entries.append(cmake_cache_option("ROCM_PATH", spec["hip"].prefix)) | ||
entries.append(cmake_cache_string("ROCM_PATH", spec["hip"].prefix)) | ||
|
||
if '+cuda' in spec: | ||
entries.append(cmake_cache_option("ENABLE_CUDA", 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
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