Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gsd/develop from develop 2020/11/18 #46

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f3db58e
Use top-level build.sh in regression test compile scripts (#209)
DusanJovic-NOAA Oct 2, 2020
2190530
Preparation for S2S cmake (#213)
aerorahul Oct 7, 2020
b00a11f
Merge NCAR feature/transition-to-capgen-1 (prepare for cap_gen.py, st…
climbfuji Oct 9, 2020
fd001d4
Change horizontal advection options in input namelist (#215)
XiaqiongZhou-NOAA Oct 19, 2020
764a38c
Enable building of coupled model (#217)
aerorahul Oct 20, 2020
58e5a8c
Update documentation and license in develop from release/public-v1 (#…
climbfuji Oct 21, 2020
85dd899
remove incorrect tests and replace with correct tests
DeniseWorthen Oct 21, 2020
78da812
add correct default vars for coupled model
DeniseWorthen Oct 21, 2020
a9393ce
add correct edit_inputs for coupled model
DeniseWorthen Oct 21, 2020
c173100
remove incorrect fv3_conf files for coupled model and add correct ones
DeniseWorthen Oct 21, 2020
5ed9459
fix MOM_input templates and nems.configure for coupled model
DeniseWorthen Oct 21, 2020
c06e423
additional small changes
DeniseWorthen Oct 21, 2020
4e0de1a
update rt.conf with correct test names
DeniseWorthen Oct 21, 2020
8a3f59d
Merges in changes from final S2S PR (194)
DeniseWorthen Oct 22, 2020
a2e58be
Add optional data atmoshpere component (#225)
aerorahul Oct 22, 2020
92cfc32
Merge branch 'develop' into feature/fixcoupled_tests
DeniseWorthen Oct 22, 2020
238d194
add wcoss_cray logs (from Minsuk)
DeniseWorthen Oct 23, 2020
4694a1d
point to new baseline skip-ci
DeniseWorthen Oct 23, 2020
a36faa7
fix missed rtpwd setting skip-ci
DeniseWorthen Oct 23, 2020
e5be00c
add orion logs
DeniseWorthen Oct 23, 2020
3dcbb0c
add dell-p3 logs
DeniseWorthen Oct 23, 2020
c8e2d31
add hera logs
DeniseWorthen Oct 23, 2020
00a51e1
Add low resolution coupled tests (#232)
DeniseWorthen Oct 26, 2020
c12980d
Add new tests for DATM-MOM6-CICE6 model (#256)
binli2337 Oct 30, 2020
08d06b6
Add parallel netcdf capability for regional grids (#206)
junwang-noaa Nov 3, 2020
9429797
Add/update HWRF physics (#223)
climbfuji Nov 5, 2020
4e8ef6a
update cmeps, fix debug compile, rename nems.configure files for coup…
DeniseWorthen Nov 9, 2020
2e25df5
Changes to regression test files for recent changes to RRTMG and RRTM…
dustinswales Nov 13, 2020
b771e5b
Bring GFS.v16 features back to develop branch (#274)
junwang-noaa Nov 17, 2020
0a1c55c
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Nov 18, 2020
f092cc6
Clean up regression tests
climbfuji Nov 19, 2020
248b609
rt update (#261)
MinsukJi-NOAA Nov 19, 2020
6f8543c
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Nov 19, 2020
8cadac0
Update submodule pointer for fv3atm
climbfuji Nov 19, 2020
550c6cc
Bugfixes for GSD SAR regression tests
climbfuji Nov 20, 2020
f8be8e4
Revert change to .gitmodules and update submodule pointer for fv3atm
climbfuji Nov 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,70 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
*.x

# system files
*.swp
*~
.DS_Store

# python files
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# CMake files and directories
build*/
install*/
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps

# repo-specific ignorables
coupled*.mk
rt.conf.single
ufs_model
tests/modules.fv3_*
tests/ecflow_run/
tests/log_*/
tests/lock/
tests/Compile_*.log
tests/fail_test
log*
build*.log*
50 changes: 35 additions & 15 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,20 +1,40 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-GSD/fv3atm
branch = gsd/develop
path = FV3
url = https://github.com/NOAA-GSD/fv3atm
branch = gsd/develop
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
[submodule "FMS"]
path = FMS
url = https://github.com/NOAA-GFDL/FMS
branch = master
path = FMS
url = https://github.com/NOAA-GFDL/FMS
branch = master
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
branch = develop
path = WW3
url = https://github.com/NOAA-EMC/WW3
branch = develop
[submodule "stochastic_physics"]
path = stochastic_physics
url = https://github.com/noaa-psd/stochastic_physics
branch = master
path = stochastic_physics
url = https://github.com/noaa-psd/stochastic_physics
branch = master
[submodule "CMakeModules"]
path = CMakeModules
url = https://github.com/NOAA-EMC/CMakeModules
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS.git
branch = emc/develop
[submodule "MOM6"]
path = MOM6-interface/MOM6
url = https://github.com/NOAA-EMC/MOM6
branch = dev/emc
[submodule "CICE"]
path = CICE-interface/CICE
url = https://github.com/NOAA-EMC/CICE
branch = emc/develop
[submodule "DATM"]
path = DATM
url = https://github.com/NOAA-EMC/NEMSdatm
branch = develop
1 change: 1 addition & 0 deletions CICE-interface/CICE
Submodule CICE added at ac617c
101 changes: 101 additions & 0 deletions CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
### CICE Fortran compiler flags
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fconvert=big-endian -ffree-line-length-none ")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -Wall -Wextra -fcheck=bounds -ffpe-trap=invalid,zero,overflow,underflow" )
set(CMAKE_Fortran_LINK_FLAGS "" )
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -FR -convert big_endian -assume byterecl -ftz -align array64byte -xHOST")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created -link_mpi=dbg")
set(CMAKE_Fortran_LINK_FLAGS "")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()

### CICE C compiler flags
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
set(CMAKE_C_FLAGS "-g")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS_RELEASE "-O3")
set(CMAKE_C_FLAGS_DEBUG "-O0")
set(CMAKE_C_LINK_FLAGS "")
elseif(CMAKE_C_COMPILER_ID MATCHES "Intel")
set( CMAKE_C_FLAGS "-g -traceback")
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -xHOST")
set( CMAKE_C_FLAGS_RELEASE "-O2 -fp-model precise")
set( CMAKE_C_FLAGS_DEBUG "-O0 -ftrapuv")
set( CMAKE_C_LINK_FLAGS "")
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
set(CMAKE_C_FLAGS "-g")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
set( CMAKE_C_FLAGS_RELEASE "-O3" )
set( CMAKE_C_FLAGS_DEBUG "-O0" )
set( CMAKE_C_LINK_FLAGS "" )
else()
message(WARNING "C compiler with ID ${CMAKE_C_COMPILER_ID} will be used with CMake default options")
endif()

# Configuration Options
set(CICE_IO "NetCDF" CACHE STRING "CICE OPTIONS: Choose IO options.")
set_property(CACHE CICE_IO PROPERTY STRINGS "NetCDF" "PIO" "Binary")

# Too many files to list, so include them via this file
include("cice_files.cmake")

# Collect source files for library
list(APPEND lib_src_files
${cice_shared_files}
${cice_shared_files_c}
${icepack_files}
${cice_mpi_comm_files}
${cice_nuopc_cmeps_driver_files})

list(APPEND _cice_defs FORTRANUNDERSCORE
coupled)

# Select IO source files based on CICE_IO
if(CICE_IO MATCHES "NetCDF")
list(APPEND lib_src_files ${cice_netcdf_io_files})
list(APPEND _cice_defs USE_NETCDF)
elseif(CICE_IO MATCHES "PIO")
list(APPEND lib_src_files ${cice_pio2_io_files})
list(APPEND _cice_defs USE_NETCDF)
elseif(CICE_IO MATCHES "Binary")
list(APPEND lib_src_files ${cice_binary_io_files})
endif()

### Create target library and set PUBLIC interfaces on the library
add_library(cice STATIC ${lib_src_files})
set_target_properties(cice PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_compile_definitions(cice PUBLIC "${_cice_defs}")
target_include_directories(cice PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)
target_link_libraries(cice PUBLIC esmf)
if(CICE_IO MATCHES "^(NetCDF|PIO)$")
target_link_libraries(cice PUBLIC NetCDF::NetCDF_Fortran)
if(CICE_IO MATCHES "PIO")
target_link_libraries(cice PUBLIC PIO::PIO_Fortran)
endif()
endif()
if(OpenMP_Fortran_FOUND)
target_link_libraries(cice PRIVATE OpenMP::OpenMP_Fortran)
endif()

###############################################################################
### Install
###############################################################################

install(
TARGETS cice
EXPORT cice-config
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
COMPONENT Library)

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod DESTINATION ${CMAKE_INSTALL_PREFIX}/CICE)

install(EXPORT cice-config
DESTINATION lib/cmake)
Loading