Skip to content

Commit 69ce0d0

Browse files
authored
Merge branch 'bartgol/eamxx/libs-reorg-part-9' (PR #7780)
Ninth step of the reorg: diagnostics lib and algorithm lib [BFB]
2 parents c5e8279 + e7065ca commit 69ce0d0

File tree

132 files changed

+380
-367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+380
-367
lines changed
Lines changed: 1 addition & 1 deletion

components/eamxx/src/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ add_subdirectory(share)
88

99
add_subdirectory(dynamics)
1010
add_subdirectory(physics)
11-
add_subdirectory(diagnostics)
1211
add_subdirectory(control)
1312
if (PROJECT_NAME STREQUAL "E3SM")
1413
add_subdirectory(mct_coupling)

components/eamxx/src/control/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set(SCREAM_CONTROL_HEADERS
1212
)
1313

1414
add_library(scream_control ${SCREAM_CONTROL_SOURCES})
15-
target_link_libraries(scream_control PUBLIC scream_share scream_io ekat::YamlParser)
15+
target_link_libraries(scream_control PUBLIC scream_share eamxx_io ekat::YamlParser)
1616

1717
if (Kokkos_ENABLE_CUDA)
1818
# This is to silence some nvcc warning that is a CUDA compiler bug

components/eamxx/src/diagnostics/tests/CMakeLists.txt

Lines changed: 0 additions & 94 deletions
This file was deleted.

components/eamxx/src/dynamics/homme/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ macro (CreateDynamicsLib HOMME_TARGET NP PLEV QSIZE)
162162
set (dynLibName scream_${hommeLibName})
163163
add_library(${dynLibName} ${SCREAM_DYNAMICS_SOURCES})
164164
target_compile_definitions(${dynLibName} PUBLIC EAMXX_HAS_HOMME)
165-
target_link_libraries(${dynLibName} PUBLIC scream_share scream_io ${hommeLibName})
165+
target_link_libraries(${dynLibName} PUBLIC scream_share eamxx_io ${hommeLibName})
166166
get_target_property(modulesDir ${hommeLibName} Fortran_MODULE_DIRECTORY)
167167
set_target_properties(${dynLibName} PROPERTIES Fortran_MODULE_DIRECTORY ${modulesDir})
168168
target_include_directories(${dynLibName} PUBLIC ${modulesDir})

components/eamxx/src/dynamics/homme/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (NOT SCREAM_ONLY_GENERATE_BASELINES)
1616
# Test I/O on dyn grid
1717
CreateUnitTest(dyn_grid_io
1818
"dyn_grid_io.cpp;test_helper_mod.F90"
19-
LIBS scream_io ${dynLibName}
19+
LIBS eamxx_io ${dynLibName}
2020
MPI_RANKS 1 ${SCREAM_TEST_MAX_RANKS}
2121
LABELS dynamics io)
2222
endif()

components/eamxx/src/mct_coupling/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ set (SCREAM_LIBS
4040
spa
4141
iop_forcing
4242
nudging
43-
diagnostics
4443
tms
45-
)
44+
)
4645

4746
# ZM is not always on yet
4847
if (TARGET zm)

components/eamxx/src/mct_coupling/eamxx_cxx_f90_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "dynamics/register_dynamics.hpp"
88
#include "physics/register_physics.hpp"
9-
#include "diagnostics/register_diagnostics.hpp"
9+
#include "share/diagnostics/register_diagnostics.hpp"
1010
#include "control/register_surface_coupling.hpp"
1111

1212
#include "mct_coupling/ScreamContext.hpp"

components/eamxx/src/physics/gw/impl/gw_gw_ediff_impl.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define GW_GW_EDIFF_IMPL_HPP
33

44
#include "gw_functions.hpp" // for ETI only but harmless for GPU
5-
#include "util/eamxx_utils.hpp"
5+
#include "share/util/eamxx_utils.hpp"
6+
67
#include <ekat_math_utils.hpp>
78
#include <ekat_subview_utils.hpp>
89

components/eamxx/src/physics/gw/impl/gw_gw_storm_speed_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define GW_GW_STORM_SPEED_IMPL_HPP
33

44
#include "gw_functions.hpp" // for ETI only but harmless for GPU
5-
#include "util/eamxx_utils.hpp"
5+
#include "share/util/eamxx_utils.hpp"
66

77
namespace scream {
88
namespace gw {

0 commit comments

Comments
 (0)