-
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 first try at NVHPC cpu CI workflow * Add new cmake files for NVHPC compiler options * Remove unused code and add VERBOSE build to nvhpc ci workflow * Add debug step to nvhpc ci * Remove debug option for nvhpc, appears to be a compiler bug
- Loading branch information
1 parent
3f5c428
commit 19c2e2e
Showing
5 changed files
with
71 additions
and
17 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,16 @@ | ||
#################################################################### | ||
# COMMON FLAGS | ||
#################################################################### | ||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") | ||
|
||
#################################################################### | ||
# RELEASE FLAGS | ||
#################################################################### | ||
|
||
set( CMAKE_C_FLAGS_RELEASE "-O3 -mp" ) | ||
|
||
#################################################################### | ||
# DEBUG FLAGS | ||
#################################################################### | ||
|
||
set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0" ) |
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,23 @@ | ||
#################################################################### | ||
# COMMON FLAGS | ||
#################################################################### | ||
set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback -Mnofma") | ||
|
||
#################################################################### | ||
# RELEASE FLAGS | ||
#################################################################### | ||
|
||
# Must turn off SIMD vectorization to get same results as for debug | ||
set( CMAKE_Fortran_FLAGS_RELEASE "-fast -mp -Mnovect" ) | ||
|
||
#################################################################### | ||
# DEBUG FLAGS | ||
#################################################################### | ||
|
||
set( CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -Mbounds -Mchkptr -Mchkstk" ) | ||
|
||
#################################################################### | ||
# FLAGS FOR GPU | ||
#################################################################### | ||
|
||
set( Fortran_GPU_FLAGS "" ) |
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