-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'cime1.1.10' into geotrace_cime
Conflicts: scripts/Tools/config_definition.xml Test suite: none run -- will test via CAM
- Loading branch information
Showing
207 changed files
with
23,000 additions
and
20,488 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
include(ExternalProject) | ||
|
||
project(cime_tests Fortran C) | ||
|
||
list(APPEND CMAKE_MODULE_PATH ${CESM_CMAKE_MODULE_DIRECTORY}) | ||
include(CESM_utils) | ||
|
||
set(CIME_ROOT "${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
# TODO: Some of the below should be done in the relevant directories, not in | ||
# this top level CMakeLists. | ||
|
||
# ------------------------------------------------------------------------ | ||
# Build mct | ||
# ------------------------------------------------------------------------ | ||
set(MCT_ROOT "${CIME_ROOT}/externals/mct") | ||
|
||
ExternalProject_add(mct_project | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR} | ||
SOURCE_DIR ${MCT_ROOT} | ||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/mct | ||
CONFIGURE_COMMAND ${MCT_ROOT}/configure --enable-mpiserial --enable-debugging --prefix=${CMAKE_CURRENT_BINARY_DIR} | ||
BUILD_COMMAND make SRCDIR=${MCT_ROOT} | ||
# Leave things in <BINARY_DIR> rather than "installing", because mpi-serial | ||
# just doesn't install properly in the out-of-source build, and we have no | ||
# need to move things around inside of the CMake binary directory anyway. | ||
INSTALL_COMMAND : | ||
) | ||
# This copy_makefiles step is needed because mct currently doesn't support an | ||
# out-of-source build. I am replicating what is done for the CIME system build. | ||
ExternalProject_add_step(mct_project copy_makefiles | ||
DEPENDEES configure | ||
DEPENDERS build | ||
WORKING_DIRECTORY <BINARY_DIR> | ||
COMMAND cp -p <SOURCE_DIR>/Makefile . | ||
COMMAND mkdir -p mct | ||
COMMAND cp -p <SOURCE_DIR>/mct/Makefile mct/ | ||
COMMAND mkdir -p mpeu | ||
COMMAND cp -p <SOURCE_DIR>/mpeu/Makefile mpeu/ | ||
COMMAND mkdir -p mpi-serial | ||
COMMAND cp -p <SOURCE_DIR>/mpi-serial/Makefile mpi-serial/ | ||
COMMAND cp <SOURCE_DIR>/mpi-serial/mpif.h mpi-serial/ | ||
COMMAND cp <SOURCE_DIR>/mpi-serial/mpi.h mpi-serial/ | ||
) | ||
|
||
# Tell cmake to look for libraries & mod files here, because this is where we built libraries | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mct) | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mpeu) | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mpi-serial) | ||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mct) | ||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mpeu) | ||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/mct/mpi-serial) | ||
|
||
# ------------------------------------------------------------------------ | ||
# Done MCT build | ||
# ------------------------------------------------------------------------ | ||
|
||
# Now a bunch of includes for share code. | ||
|
||
# csm_share (we don't build it here because it seems to be built differently | ||
# by different tests?) | ||
set(SHARE_ROOT "${CIME_ROOT}/share/csm_share") | ||
add_subdirectory(${SHARE_ROOT}/shr csm_share) | ||
include_directories(${SHARE_ROOT}/include) | ||
|
||
# esmf_wrf_timemgr not built here because it depends on csm_share. | ||
add_subdirectory(${CIME_ROOT}/share/esmf_wrf_timemgr esmf_wrf_timemgr) | ||
include_directories(${CIME_ROOT}/share/esmf_wrf_timemgr) | ||
|
||
# Now the actual test directories. | ||
add_subdirectory(driver_cpl/unit_test) | ||
add_subdirectory(share/csm_share/test/unit) |
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,31 @@ | ||
The cime directory structure (other than the externals/ directory) | ||
was generated from the following trunk tags: | ||
|
||
cime/driver_cpl https://svn-ccsm-models.cgd.ucar.edu/drv/seq_mct/trunk_tags/drvseq5_1_15 | ||
|
||
cime/components/data_comps/datm https://svn-ccsm-models.cgd.ucar.edu/datm7/trunk_tags/datm8_150310 | ||
cime/components/data_comps/dice https://svn-ccsm-models.cgd.ucar.edu/dice7/trunk_tags/dice8_150310 | ||
cime/components/data_comps/dlnd https://svn-ccsm-models.cgd.ucar.edu/dlnd7/trunk_tags/dlnd8_150310 | ||
cime/components/data_comps/docn https://svn-ccsm-models.cgd.ucar.edu/docn7/trunk_tags/docn8_150310 | ||
cime/components/data_comps/drof https://svn-ccsm-models.cgd.ucar.edu/drof/trunk_tags/drof_150310 | ||
cime/components/stub_comps https://svn-ccsm-models.cgd.ucar.edu/stubs/trunk_tags/stubs1_4_08 | ||
cime/components/xcpl_comps https://svn-ccsm-models.cgd.ucar.edu/dead7/trunk_tags/dead7_8_04 | ||
|
||
cime/machines https://svn-ccsm-models.cgd.ucar.edu/Machines/trunk_tags/Machines_150309 | ||
|
||
cime/scripts https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts_150309 | ||
|
||
cime/share/csm_share https://svn-ccsm-models.cgd.ucar.edu/csm_share/trunk_tags/share3_150116 | ||
cime/share/esmf_wrf_timemgr https://svn-ccsm-models.cgd.ucar.edu/esmf_wrf_timemgr/trunk_tags/esmf_wrf_timemgr_141217 | ||
cime/share/timing https://svn-ccsm-models.cgd.ucar.edu/timing/trunk_tags/timing_150302 | ||
|
||
cime/utils/pythonlib https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_150204/scripts/ccsm_utils/Tools/pythonlib | ||
cime/utils/perl5lib https://svn-ccsm-models.cgd.ucar.edu/perl5lib/trunk_tags/perl5lib_150302 | ||
|
||
cime/tools/load_balancing_tool https://svn-ccsm-models.cgd.ucar.edu/tools/load_balancing_tool/trunk_tags/load_balancing_tool_141008 | ||
cime/tools/unit_testing https://svn-ccsm-models.cgd.ucar.edu/unit_testing/trunk_tags/unit_testing_0_16 | ||
cime/tools/statistical_ensemble_test https://svn-ccsm-models.cgd.ucar.edu/validation_testing/trunk_tags/validation_20140708/run_CESM/ | ||
cime/tools/mapping https://svn-ccsm-models.cgd.ucar.edu/tools/mapping/trunk_tags/mapping_141106 | ||
cime/tools/cprnc https://svn-ccsm-models.cgd.ucar.edu/tools/cprnc/trunk_tags/cprnc_150301 | ||
|
||
|
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,2 @@ | ||
# To run all CIME unit tests on yellowstone, run the following command: | ||
tools/unit_testing/run_tests.py --test-spec-dir=. --compiler=intel |
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 was deleted.
Oops, something went wrong.
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 @@ | ||
modelnl.html |
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
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
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
Oops, something went wrong.