Skip to content

Commit

Permalink
Merge pull request #4 from NCAR/dtc/develop
Browse files Browse the repository at this point in the history
update
  • Loading branch information
panll committed Jul 14, 2020
2 parents 644b2f2 + c22f9db commit 334fa69
Show file tree
Hide file tree
Showing 85 changed files with 98,778 additions and 3,266 deletions.
35 changes: 19 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,89 +101,92 @@ add_library(
FMS/amip_interp/amip_interp.F90
FMS/astronomy/astronomy.F90
FMS/axis_utils/axis_utils.F90
FMS/axis_utils/axis_utils2.F90
FMS/block_control/block_control.F90
FMS/column_diagnostics/column_diagnostics.F90
FMS/constants/constants.F90
FMS/coupler/atmos_ocean_fluxes.F90
FMS/coupler/coupler_types.F90
FMS/coupler/ensemble_manager.F90
FMS/data_override/data_override.F90
FMS/diag_integral/diag_integral.F90
FMS/diag_manager/diag_axis.F90
FMS/diag_manager/diag_data.F90
FMS/diag_manager/diag_grid.F90
FMS/diag_manager/diag_manager.F90
FMS/diag_manager/diag_manifest.F90
FMS/diag_manager/diag_output.F90
FMS/diag_manager/diag_table.F90
FMS/diag_manager/diag_util.F90
FMS/drifters/cloud_interpolator.F90
FMS/drifters/drifters.F90
FMS/drifters/drifters_comm.F90
FMS/drifters/drifters_core.F90
FMS/drifters/drifters.F90
FMS/drifters/drifters_input.F90
FMS/drifters/drifters_io.F90
FMS/drifters/quicksort.F90
FMS/exchange/stock_constants.F90
FMS/exchange/xgrid.F90
FMS/fft/fft99.F90
FMS/fft/fft.F90
FMS/field_manager/field_manager.F90
FMS/field_manager/fm_util.F90
FMS/fms/fms.F90
FMS/fms/fms_io.F90
FMS/fms2_io/blackboxio.F90
FMS/fms2_io/fms2_io.F90
FMS/fms2_io/fms_io_utils.F90
FMS/fms2_io/fms_netcdf_domain_io.F90
FMS/fms2_io/fms_netcdf_unstructured_domain_io.F90
FMS/fms2_io/netcdf_io.F90
FMS/horiz_interp/horiz_interp.F90
FMS/horiz_interp/horiz_interp_bicubic.F90
FMS/horiz_interp/horiz_interp_bilinear.F90
FMS/horiz_interp/horiz_interp_conserve.F90
FMS/horiz_interp/horiz_interp.F90
FMS/horiz_interp/horiz_interp_spherical.F90
FMS/horiz_interp/horiz_interp_type.F90
FMS/interpolator/interpolator.F90
FMS/memutils/memutils.F90
FMS/monin_obukhov/monin_obukhov.F90
FMS/monin_obukhov/monin_obukhov_kernel.F90
FMS/mosaic/gradient.F90
FMS/mosaic/grid.F90
FMS/mosaic/mosaic.F90
FMS/mosaic/mosaic2.F90
FMS/mpp/mpp.F90
FMS/mpp/mpp_data.F90
FMS/mpp/mpp_domains.F90
FMS/mpp/mpp_efp.F90
FMS/mpp/mpp.F90
FMS/mpp/mpp_io.F90
FMS/mpp/mpp_memutils.F90
FMS/mpp/mpp_parameter.F90
FMS/mpp/mpp_pset.F90
FMS/mpp/mpp_utilities.F90
FMS/oda_tools/oda_core_ecda.F90
FMS/oda_tools/oda_core.F90
FMS/oda_tools/oda_types.F90
FMS/oda_tools/write_ocean_data.F90
FMS/oda_tools/xbt_drop_rate_adjust.f90
FMS/platform/platform.F90
FMS/random_numbers/MersenneTwister.F90
FMS/random_numbers/random_numbers.F90
FMS/sat_vapor_pres/sat_vapor_pres.F90
FMS/sat_vapor_pres/sat_vapor_pres_k.F90
FMS/station_data/station_data.F90
FMS/time_interp/time_interp_external.F90
FMS/time_interp/time_interp.F90
FMS/time_interp/time_interp_external.F90
FMS/time_interp/time_interp_external2.F90
FMS/time_manager/get_cal_time.F90
FMS/time_manager/time_manager.F90
FMS/topography/gaussian_topog.F90
FMS/topography/topography.F90
FMS/tracer_manager/tracer_manager.F90
FMS/tridiagonal/tridiagonal.F90
FMS/memutils/memuse.c

FMS/mosaic/create_xgrid.c
FMS/mosaic/gradient_c2l.c
FMS/mosaic/interp.c
FMS/mosaic/mosaic_util.c
FMS/mosaic/read_mosaic.c
FMS/affinity/affinity.c
FMS/mpp/mpp_memuse.c
FMS/mpp/nsclock.c
FMS/mpp/threadloc.c
)
# stupid cmake can not figure out dependency of fft.F90 on fft99.F90 because 'use fft99_mod' is inside ifdefs
set_property(SOURCE FMS/fft/fft.F90 APPEND_STRING PROPERTY COMPILE_FLAGS "-DSGICRAY=0 -DNAGFFT=0")

target_include_directories(fms PUBLIC ${PROJECT_SOURCE_DIR}/FMS/include FMS/include FMS/fms FMS/mpp/include)
target_include_directories(fms PUBLIC ${PROJECT_SOURCE_DIR}/FMS/include FMS/include FMS/fms FMS/fms2_io/include FMS/mpp/include)
target_include_directories(fms PRIVATE ${NETCDF_INC_DIR})

set_target_properties(fms PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/FMS)
Expand Down
2 changes: 1 addition & 1 deletion FMS
Submodule FMS updated 292 files
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 67 files
+1 −1 CMakeLists.txt
+1 −1 atmos_cubed_sphere
+53 −18 atmos_model.F90
+121 −140 ccpp/config/ccpp_prebuild_config.py
+1 −1 ccpp/framework
+1 −1 ccpp/physics
+1 −1 ccpp/suites/suite_FV3_CPT_v0.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_RRTMGP.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_coupled.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_csawmg.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_csawmgshoc.xml
+86 −0 ccpp/suites/suite_FV3_GFS_2017_fv3wam.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_noahmp.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional_c768.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_h2ophys.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_myj.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_ntiedtke.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_ozphys_2015.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_sas.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmf.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmf_coupled.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmfq.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_shinhong.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_stretched.xml
+1 −1 ccpp/suites/suite_FV3_GFS_2017_ysu.xml
+1 −1 ccpp/suites/suite_FV3_GFS_rasmgshoc.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15_gf.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15_gf_thompson.xml
+3 −3 ccpp/suites/suite_FV3_GFS_v15_mynn.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15_ras.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15_thompson.xml
+3 −3 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn.xml
+2 −1 ccpp/suites/suite_FV3_GFS_v15p2.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15p2_coupled.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15p2_no_nsst.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15plus.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15plusras.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v16_csawmg.xml
+2 −1 ccpp/suites/suite_FV3_GFS_v16beta.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v16beta_no_nsst.xml
+7 −2 ccpp/suites/suite_FV3_GSD_SAR.xml
+3 −0 ccpp/suites/suite_FV3_GSD_SAR_v1.xml
+3 −3 ccpp/suites/suite_FV3_GSD_noah.xml
+91 −0 ccpp/suites/suite_FV3_GSD_noah_mynnsfc.xml
+4 −3 ccpp/suites/suite_FV3_GSD_v0.xml
+3 −3 ccpp/suites/suite_FV3_GSD_v0_drag_suite.xml
+93 −0 ccpp/suites/suite_FV3_GSD_v0_mynnsfc.xml
+1 −1 ccpp/suites/suite_FV3_HAFS_ferhires_update_moist.xml
+86 −0 ccpp/suites/suite_FV3_HRRR.xml
+92 −0 ccpp/suites/suite_FV3_RAP.xml
+3 −1 ccpp/suites/suite_FV3_RRFS_v0.xml
+2 −2 gfsphysics/CCPP_layer/CCPP_data.meta
+623 −154 gfsphysics/GFS_layer/GFS_diagnostics.F90
+28 −26 gfsphysics/GFS_layer/GFS_physics_driver.F90
+14 −4 gfsphysics/GFS_layer/GFS_restart.F90
+275 −64 gfsphysics/GFS_layer/GFS_typedefs.F90
+323 −37 gfsphysics/GFS_layer/GFS_typedefs.meta
+5 −5 gfsphysics/physics/GFS_debug.F90
+1 −1 gfsphysics/physics/radsw_datatb.f
+2 −4 gfsphysics/physics/samfdeepcnv.f
+35 −8 gfsphysics/physics/satmedmfvdifq.f
+9 −19 gfsphysics/physics/sfc_diff.f
+88 −2 io/FV3GFS_io.F90
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ set -eu

MYDIR=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P)

export COMPILER=${COMPILER:?"Please set COMPILER environment variable [gnu|intel]"}
export CMAKE_Platform=linux.${COMPILER}
export CMAKE_Platform=${CMAKE_Platform:?"Please set the CMAKE_Platform environment variable, e.g. [macosx.gnu|linux.gnu|linux.intel|hera.intel|...]"}
export CMAKE_C_COMPILER=${CMAKE_C_COMPILER:-mpicc}
export CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER:-mpicxx}
export CMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER:-mpif90}
Expand Down
14 changes: 14 additions & 0 deletions cmake/GNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,17 @@ if(INLINE_POST)
else()
message("INLINE_POST is disabled")
endif()

if(QUAD_PRECISION)
message("QUAD_PRECISION is ENABLED")
add_definitions(-DENABLE_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()
18 changes: 18 additions & 0 deletions cmake/Intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ if(OPENMP)
add_definitions(-DOPENMP)
endif()

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 @@ -90,3 +98,13 @@ if(INLINE_POST)
else()
message("INLINE_POST is disabled")
endif()
if(QUAD_PRECISION)
message("QUAD_PRECISION is ENABLED")
else()
message("QUAD_PRECISION is disabled")
endif()
if(MULTI_GASES)
message("MULTI_GASES is ENABLED")
else()
message("MULTI_GASES is disabled")
endif()
15 changes: 15 additions & 0 deletions cmake/PGI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@ if(INLINE_POST)
else()
message("INLINE_POST is disabled")
endif()

if(QUAD_PRECISION)
message("QUAD_PRECISION is ENABLED")
add_definitions(-DENABLE_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()

2 changes: 2 additions & 0 deletions cmake/configure_cheyenne.gnu.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" 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
2 changes: 2 additions & 0 deletions cmake/configure_cheyenne.intel-impi.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
2 changes: 2 additions & 0 deletions cmake/configure_cheyenne.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
2 changes: 2 additions & 0 deletions cmake/configure_gaea.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
2 changes: 2 additions & 0 deletions cmake/configure_hera.gnu.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" 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
2 changes: 2 additions & 0 deletions cmake/configure_hera.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" ON)

Expand Down
6 changes: 5 additions & 1 deletion cmake/configure_jet.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ 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" 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)

include( cmake/${CMAKE_Fortran_COMPILER_ID}.cmake )

message("AVX2 is ENABLED on Jet (multi-tagret executable)")
message("AVX2 is ENABLED on Jet (multi-target executable)")
string (REPLACE "-xHOST" "-axSSE4.2,AVX,CORE-AVX2" CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}")
string (REPLACE "-xHOST" "-axSSE4.2,AVX,CORE-AVX2" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
# For CCPP
option(SIMDMULTIARCH "Enable multi-target SIMD instruction sets" ON)

string(REPLACE "-i_dynamic" "-shared-intel"
CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS
Expand Down
2 changes: 2 additions & 0 deletions cmake/configure_linux.gnu.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" 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
2 changes: 2 additions & 0 deletions cmake/configure_linux.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" 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
2 changes: 2 additions & 0 deletions cmake/configure_macosx.gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ else()
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
2 changes: 2 additions & 0 deletions cmake/configure_orion.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" 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
2 changes: 2 additions & 0 deletions cmake/configure_wcoss_cray.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" ON)

Expand Down
4 changes: 3 additions & 1 deletion cmake/configure_wcoss_dell_p3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ option(REPRO "Enable REPRO mode" OFF)
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" OFF)
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
6 changes: 6 additions & 0 deletions conf/configure.fv3.cheyenne.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ AVX2 = Y
HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down Expand Up @@ -118,6 +120,10 @@ ifeq ($(MULTI_GASES),Y)
CPPDEFS += -DMULTI_GASES
endif

ifeq ($(QUAD_PRECISION),Y)
CPPDEFS += -DENABLE_QUAD_PRECISION
endif

FFLAGS_OPT = -O2 -fno-range-check
FFLAGS_REPRO = -O2 -g -fbacktrace -fno-range-check
FFLAGS_DEBUG = -g -O0 -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -ffpe-trap=invalid,zero,overflow -fbounds-check -fbacktrace -fno-range-check -Wall
Expand Down
6 changes: 6 additions & 0 deletions conf/configure.fv3.cheyenne.intel
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ AVX2 = Y
HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down Expand Up @@ -127,6 +129,10 @@ ifeq ($(MULTI_GASES),Y)
CPPDEFS += -DMULTI_GASES
endif

ifeq ($(QUAD_PRECISION),Y)
CPPDEFS += -DENABLE_QUAD_PRECISION
endif

FFLAGS_OPT = -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3
FFLAGS_REPRO = -O2 -debug minimal -fp-model consistent -qoverride-limits -g -traceback
FFLAGS_DEBUG = -g -O0 -check all -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -traceback -ftrapuv
Expand Down
6 changes: 6 additions & 0 deletions conf/configure.fv3.cheyenne.intel-impi
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ AVX2 = Y
HYDRO = N
CCPP = N
SION = N
QUAD_PRECISION = Y
MULTI_GASES = N

include $(ESMFMKFILE)
ESMF_INC = $(ESMF_F90COMPILEPATHS)
Expand Down Expand Up @@ -123,6 +125,10 @@ ifeq ($(MULTI_GASES),Y)
CPPDEFS += -DMULTI_GASES
endif

ifeq ($(QUAD_PRECISION),Y)
CPPDEFS += -DENABLE_QUAD_PRECISION
endif

FFLAGS_OPT = -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3
FFLAGS_REPRO = -O2 -debug minimal -fp-model consistent -qoverride-limits -g -traceback
FFLAGS_DEBUG = -g -O0 -check all -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -traceback -ftrapuv
Expand Down
Loading

0 comments on commit 334fa69

Please sign in to comment.