-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vlab issue #65376: DA changes for GFSv16. Fixes #65376.
Change-Id: Id7ea8df4b8f5b2b7961456c5c961c1ad712385a6
- Loading branch information
1 parent
b4638a3
commit 075c037
Showing
252 changed files
with
28,601 additions
and
3,613 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
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,83 @@ | ||
# This module defines | ||
# CORE_INCS | ||
# List of include file paths for all required modules for GSI | ||
# CORE_LIBRARIES | ||
# Full list of libraries required to link GSI executable | ||
include(findHelpers) | ||
if(DEFINED ENV{IP_VER}) | ||
set(IP_VER $ENV{IP_VER}) | ||
STRING(REGEX REPLACE "v" "" IP_VER ${IP_VER}) | ||
endif() | ||
|
||
set( NO_DEFAULT_PATH ) | ||
if(NOT BUILD_IP ) | ||
if(DEFINED ENV{IP_LIBd} ) | ||
set(IP_LIBRARY $ENV{IP_LIBd} ) | ||
message("IP library ${IP_LIBRARY} set via Environment variable") | ||
else() | ||
find_library( IP_LIBRARY | ||
NAMES libip_d.a libip_i4r8.a libip_v${IP_VER}_d.a | ||
HINTS | ||
$ENV{COREPATH}/lib | ||
/usr/local/jcsda/nwprod_gdas_2014/lib | ||
${COREPATH}/ip/v${IP_VER} | ||
${COREPATH}/ip/v${IP_VER}/intel | ||
${COREPATH}/ip/v${IP_VER}/ips/${COMPILER_VERSION} | ||
PATH_SUFFIXES | ||
lib | ||
${NO_DEFAULT_PATH}) | ||
set( ip "ip_v${IP_VER}_d") | ||
message("Found IP library ${IP_LIBRARY}") | ||
endif() | ||
if(DEFINED ENV{IP_LIB4} ) | ||
set(IP_4_LIBRARY $ENV{IP_LIB4} ) | ||
message("IP 4 library ${IP_4_LIBRARY} set via Environment variable") | ||
else() | ||
find_library( IP_4_LIBRARY | ||
NAMES libip_4.a libip_i4r4.a libip_v${IP_VER}_4.a | ||
HINTS | ||
$ENV{COREPATH}/lib | ||
/usr/local/jcsda/nwprod_gdas_2014/lib | ||
${COREPATH}/ip/v${IP_VER} | ||
${COREPATH}/ip/v${IP_VER}/intel | ||
${COREPATH}/ip/v${IP_VER}/ips/${COMPILER_VERSION} | ||
PATH_SUFFIXES | ||
lib | ||
${NO_DEFAULT_PATH}) | ||
set( ip "ip_v${IP_VER}_4") | ||
message("Found IP_4 library ${IP_4_LIBRARY}") | ||
endif() | ||
endif() | ||
if( NOT IP_LIBRARY ) # didn't find the library, so build it from source | ||
message("Could not find IP library, so building from libsrc") | ||
if( NOT DEFINED ENV{IP_SRC} ) | ||
findSrc( "ip" IP_VER IP_DIR ) | ||
else() | ||
set( IP_DIR "$ENV{IP_SRC}/libsrc" CACHE STRING "IP Source Location") | ||
endif() | ||
set( libsuffix "_v${IP_VER}${debug_suffix}" ) | ||
set( IP_LIBRARY "${LIBRARY_OUTPUT_PATH}/libip${libsuffix}.a" CACHE STRING "IP Library" ) | ||
set( IP_4_LIBRARY "${LIBRARY_OUTPUT_PATH}/libip_4${libsuffix}.a" CACHE STRING "IP_4 Library" ) | ||
set( ip "ip${libsuffix}") | ||
set( ip4 "ip_4${libsuffix}") | ||
set( BUILD_IP "ON" CACHE INTERNAL "Build the IP library") | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/libsrc/ip) | ||
set( IP_LIBRARY ${ip} ) | ||
set( IP_4_LIBRARY ${ip4} ) | ||
if( CORE_BUILT ) | ||
list( APPEND CORE_BUILT ${IP_LIBRARY} ) | ||
else() | ||
set( CORE_BUILT ${IP_LIBRARY} ) | ||
endif() | ||
else( NOT IP_LIBRARY ) | ||
if( CORE_LIBRARIES ) | ||
list( APPEND CORE_LIBRARIES ${IP_LIBRARY} ) | ||
else() | ||
set( CORE_LIBRARIES ${IP_LIBRARY} ) | ||
endif() | ||
endif( NOT IP_LIBRARY ) | ||
|
||
|
||
set( IP_LIBRARY_PATH ${IP_LIBRARY} CACHE STRING "IP Library Location" ) | ||
set( IP_4_LIBRARY_PATH ${IP_4_LIBRARY} CACHE STRING "IP_4 Library Location" ) | ||
|
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
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
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,42 @@ | ||
macro (setOrion) | ||
message("Setting paths for Orion") | ||
option(FIND_HDF5 "Try to Find HDF5 libraries" ON) | ||
option(FIND_HDF5_HL "Try to Find HDF5 libraries" OFF) | ||
set(HOST_FLAG "-xHOST" CACHE INTERNAL "Host Flag") | ||
set(MKL_FLAG "-mkl" CACHE INTERNAL "MKL Flag") | ||
set(GSI_Intel_Platform_FLAGS "-DPOUND_FOR_STRINGIFY -O3 -fp-model source -assume byterecl -convert big_endian -g -traceback -D_REAL8_ ${OpenMP_Fortran_FLAGS} ${MPI_Fortran_COMPILE_FLAGS}" CACHE INTERNAL "GSI Fortran Flags") | ||
set(ENKF_Platform_FLAGS "-O3 ${HOST_FLAG} -warn all -implicitnone -traceback -fp-model strict -convert big_endian -DGFS -D_REAL8_ ${OpenMP_Fortran_FLAGS}" CACHE INTERNAL "ENKF Fortran Flags") | ||
set(HDF5_USE_STATIC_LIBRARIES "ON") | ||
|
||
if( NOT DEFINED ENV{NETCDF_VER} ) | ||
set(NETCDF_VER "3.6.3" ) | ||
endif() | ||
if( NOT DEFINED ENV{BACIO_VER} ) | ||
set(BACIO_VER "2.0.1" ) | ||
endif() | ||
if( NOT DEFINED ENV{BUFR_VER} ) | ||
set(BUFR_VER "10.2.5" ) | ||
endif() | ||
if( NOT DEFINED ENV{CRTM_VER} ) | ||
set(CRTM_VER "2.2.3" ) | ||
endif() | ||
if( NOT DEFINED ENV{NEMSIO_VER} ) | ||
set(NEMSIO_VER "2.2.1" ) | ||
endif() | ||
if( NOT DEFINED ENV{SFCIO_VER} ) | ||
set(SFCIO_VER "1.0.0" ) | ||
endif() | ||
if( NOT DEFINED ENV{SIGIO_VER} ) | ||
set(SIGIO_VER "2.0.1" ) | ||
endif() | ||
if( NOT DEFINED ENV{SP_VER} ) | ||
set(SP_VER "2.0.2" ) | ||
endif() | ||
if( NOT DEFINED ENV{W3EMC_VER} ) | ||
set(W3EMC_VER "2.0.5" ) | ||
endif() | ||
if( NOT DEFINED ENV{W3NCO_VER} ) | ||
set(W3NCO_VER "2.0.6" ) | ||
endif() | ||
endmacro() | ||
|
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
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
Submodule fix
updated
from 6c7d9f to 543c84
Oops, something went wrong.