-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hooks for Cloud-J repository for use with GEOS-Chem
Cloud-J will need to be added to mepo to clone GEOS-ESM/Cloud-J branch geos/develop as directory Cloud-J/@Cloud-J. Signed-off-by: Lizzie Lundgren <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
esma_set_this () | ||
|
||
esma_mepo_style(Cloud-J cloud_j_dir) | ||
|
||
set (MODEL_GEOSCHEM TRUE) # Will need to rework to use with GMI instead | ||
set (MAPL_ESMF TRUE) | ||
|
||
set (srcs | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_sub_mod.F90 | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_cmn_mod.F90 | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_error_mod.F90 | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_init_mod.F90 | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_fjx_sub_mod.F90 | ||
${CMAKE_CURRENT_SOURCE_DIR}/${cloud_j_dir}/src/Core/cldj_osa_sub_mod.F90 | ||
) | ||
|
||
# placeholder for excluding files from build | ||
#list (REMOVE_ITEM srcs | ||
# ${CMAKE_CURRENT_SOURCE_DIR}${cloud_j_dir}/src/Core/placeholder.F90 | ||
# ) | ||
|
||
# MAPL, ESMF, and netCDF not used but include here for potential future use | ||
esma_add_library (${this} | ||
SRCS ${srcs} | ||
DEPENDENCIES MAPL esmf NetCDF::NetCDF_Fortran | ||
) | ||
|
||
target_compile_definitions(${this} PRIVATE MAPL_ESMF MODEL_GEOSCHEM) | ||
set_target_properties (${this} PROPERTIES Fortran_MODULE_DIRECTORY ${include_${this}}) |
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