Skip to content

Commit

Permalink
Add regression tests with MULTI_GASES (#112)
Browse files Browse the repository at this point in the history
* Add the option to run regression test with MULTI_GASES=Y
* Add multi_gases CCPP regression test
  • Loading branch information
XiaqiongZhou-NOAA authored Jul 7, 2020
1 parent b0ee9ff commit a7b9b6d
Show file tree
Hide file tree
Showing 54 changed files with 97,046 additions and 3,570 deletions.
2 changes: 1 addition & 1 deletion FV3
7 changes: 7 additions & 0 deletions cmake/GNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,10 @@ if(QUAD_PRECISION)
else()
message("QUAD_PRECISION is disabled")
endif()

if(MULTI_GASES)
message("MULTI_GASES is ENABLED")
add_definitions(-DMULTI_GASES)
else()
message("MULTI_GASES is disabled")
endif()
9 changes: 9 additions & 0 deletions cmake/Intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ if(QUAD_PRECISION)
add_definitions(-DENABLE_QUAD_PRECISION)
endif()

if(MULTI_GASES)
add_definitions(-DMULTI_GASES)
endif()


set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__IFC -sox -fp-model source")

Expand Down Expand Up @@ -99,3 +103,8 @@ if(QUAD_PRECISION)
else()
message("QUAD_PRECISION is disabled")
endif()
if(MULTI_GASES)
message("MULTI_GASES is ENABLED")
else()
message("MULTI_GASES is disabled")
endif()
8 changes: 8 additions & 0 deletions cmake/PGI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@ if(QUAD_PRECISION)
else()
message("QUAD_PRECISION is disabled")
endif()

if(MULTI_GASES)
message("MULTI_GASES is ENABLED")
add_definitions(-DMULTI_GASES)
else()
message("MULTI_GASES is disabled")
endif()

1 change: 1 addition & 0 deletions cmake/configure_cheyenne.gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_cheyenne.intel-impi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_cheyenne.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_gaea.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_hera.gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_hera.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" ON)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_jet.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_linux.gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_linux.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_macosx.gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ option(OPENMP "Enable OpenMP threading" ON)
endif()
option(AVX2 "Enable AVX2 instruction set" OFF)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_orion.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" ON)

Expand Down
2 changes: 2 additions & 0 deletions cmake/configure_stampede.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ option(VERBOSE "Enable VERBOSE mode" OFF)
option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_wcoss_cray.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" ON)

Expand Down
1 change: 1 addition & 0 deletions cmake/configure_wcoss_dell_p3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(32BIT "Enable 32BIT (single precision arithmetic in dycore)" OFF)
option(OPENMP "Enable OpenMP threading" ON)
option(AVX2 "Enable AVX2 instruction set" ON)
option(QUAD_PRECISION "Enable QUAD_PRECISION (for certain grid metric terms in dycore)" ON)
option(MULTI_GASES "Enable MULTI_GASES" OFF)

option(INLINE_POST "Enable inline post" ON)

Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.cheyenne.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.cheyenne.intel
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.cheyenne.intel-impi
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.endeavor.intel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.gaea.intel
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.hera.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.hera.intel
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
2 changes: 1 addition & 1 deletion conf/configure.fv3.jet.intel
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y

MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.linux.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.macosx.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.odin
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ OPENMP = Y
AVX2 = Y
HYDRO = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.orion.intel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ HYDRO = N
CCPP = N
STATIC = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.s4.intel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ HYDRO = N
CCPP = N
INLINE_POST=N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.stampede.intel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.wcoss_cray
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
1 change: 1 addition & 0 deletions conf/configure.fv3.wcoss_dell_p3
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ AVX2 = Y
HYDRO = N
CCPP = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down
Loading

0 comments on commit a7b9b6d

Please sign in to comment.