Skip to content

Commit e7065ca

Browse files
committed
EAMxx: fix some include/link issues
1 parent 4863461 commit e7065ca

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

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 {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define GW_GWD_COMPUTE_STRESS_PROFILES_AND_DIFFUSIVITIES_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

89
namespace scream {

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
#define GW_GWD_COMPUTE_TENDENCIES_FROM_STRESS_DIVERGENCE_IMPL_HPP
33

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

910
namespace scream {
1011
namespace gw {

components/eamxx/tests/multi-process/dynamics_physics/homme_shoc_cld_spa_p3_rrtmgp_pg2_dp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CreateDynamicsLib("theta-l_kokkos" 4 72 10)
1111
set (TEST_LABELS "dynamics;driver;tms;shoc;cld;spa;p3;rrtmgp;physics;dp")
1212
CreateUnitTest(homme_shoc_cld_spa_p3_rrtmgp_pg2_dp "homme_shoc_cld_spa_p3_rrtmgp_pg2_dp.cpp"
1313
LABELS ${TEST_LABELS}
14-
LIBS cld_fraction tms shoc spa iop_forcing p3 scream_rrtmgp ${dynLibName}
14+
LIBS cld_fraction tms shoc spa iop_forcing p3 scream_rrtmgp ${dynLibName} scream_control
1515
MPI_RANKS ${TEST_RANK_START} ${TEST_RANK_END}
1616
FIXTURES_SETUP_INDIVIDUAL ${FIXTURES_BASE_NAME}
1717
)

0 commit comments

Comments
 (0)