Skip to content

CIME Development Guide

Bill Sacks edited this page Mar 30, 2016 · 11 revisions

CIME Development Guide

Pre-Integration testing

Requests to merge changes into the CIME trunk are done by submitting a pull request on github.

Prior to integration and accepting a pull request:

  • CIME unit tests need to be run:

    • Fortran: From the top-level directory in cime, follow the instructions in README.unit_testing (currently only works out-of-the-box on yellowstone)
    • TODO - perl (andre, shollenberger)
    • TODO - python (andre, ???)
  • CIME standalone tests need to be run from the CIME/scripts directory:

    ./create_test \
        -component drv \
        -xml_mach yellowstone \
        -xml_compiler intel \
        -xml_category prealpha \
        -xml_list ../driver_cpl/cime_config/testdefs/testlist_drv.xml \
        -testroot /some/path/tests-cime-27dbd045 -testid 27dbd045

To check results:

    cd /some/path/tests-cime-27dbd045
    ./cs.status