Skip to content

Commit

Permalink
Rename CCPP branches from master to main, several small changes in cc…
Browse files Browse the repository at this point in the history
…pp-physics (NOAA-EMC#300)

- renames the ccpp-framework and ccpp-physics branches from master to main in .gitmodules
- updates the submodule pointer for ccpp-physics for several small changes described in NCAR/ccpp-physics#658
- updates the submodule pointer for ccpp-framework for a small update described in NCAR/ccpp-framework#372
- add missing Intel DEBUG flags specific to CCPP
  • Loading branch information
climbfuji authored May 18, 2021
1 parent 0215d0f commit 4279a1f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
[submodule "ccpp/framework"]
path = ccpp/framework
url = https://github.com/NCAR/ccpp-framework
branch = master
branch = main
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/NCAR/ccpp-physics
branch = master
branch = main
8 changes: 8 additions & 0 deletions ccpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ if(MPI)
add_definitions(-DMPI)
endif()

#------------------------------------------------------------------------------
# Set additional flags for debug build
if(DEBUG)
if(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -init=snan,arrays")
endif()
endif()

#------------------------------------------------------------------------------
# Set flag for 32bit dynamics build
if(32BIT)
Expand Down

0 comments on commit 4279a1f

Please sign in to comment.