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

Lnd nuopc debug #2

Merged
merged 5 commits into from
Feb 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS.git
url = https://github.com/JustinPerket/CMEPS.git
branch = emc/develop
[submodule "MOM6"]
path = MOM6-interface/MOM6
Expand Down
2 changes: 1 addition & 1 deletion CMEPS-interface/CMEPS
18 changes: 17 additions & 1 deletion LndCompTest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
#set(SRCS lnd_comp_nuopc.F90)

### Create target library and set PUBLIC interfaces on the library
add_library(lnd_comp STATIC lnd_comp_nuopc.F90)
add_library(lnd_comp STATIC
clm_varctl.F90
# decompInitMod.F90
# domainMod.F90
lnd_comp_nuopc.F90
lnd_import_export.F90
lnd_set_decomp_and_domain.F90
nuopc_shr_methods.F90
shr_file_mod.F90
shr_kind_mod.F90
shr_log_mod.F90
shr_sys_mod.F90
spmdMod.F90
)
set_target_properties(lnd_comp PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_compile_definitions(lnd_comp PUBLIC "${_lnd_comp_defs}")
target_include_directories(lnd_comp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
Expand All @@ -10,6 +23,9 @@ target_link_libraries(lnd_comp PUBLIC esmf)

#target_link_libraries(lnd_comp PUBLIC esmf)

# test this:
target_include_directories(lnd_comp PRIVATE ${CMAKE_BINARY_DIR}/FV3/ccpp/physics)

###############################################################################
### Install
###############################################################################
Expand Down
441 changes: 441 additions & 0 deletions LndCompTest/clm_varctl.F90

Large diffs are not rendered by default.

Loading