CLM 8.1 Testing CLM Using the CESM Test Scripts - erika72/clm-docs GitHub Wiki
We first introduce the test scripts that work for all CESM components. We will use the create_test and then the create_test_suite scripts. The create_test runs a specific type of test, at a given resolution, for a given compset using a given machine. There is a list of different tests, but the "ERI" tests do several things at once, running from startup, as well as doing exact branch and restart tests. So to run "ERI" testing at 2-degree with the I1850CRUCLM45 compset on yellowstone_intel you do the following.
> cd scripts
> ./create_test -testname ERI.f19_g16.I1850CRUCLM45.yellowstone_intel
> cd ERI.f19_g16.I1850CRUCLM45.yellowstone_intel.$id
> ./ERI.f19_g16.I1850CRUCLM45.yellowstone_intel.$id.build
> ERI.f19_g16.I1850CRUCLM45.yellowstone_intel.$id.submit
When the test is done it will update the file TestStatus with either a PASS or FAIL message.
We already have a standard list of tests for clm (the "aux_clm" list of tests). To run the CLM yellowstone intel compiler test list, for the same machine and compiler you would do the following:
> cd scripts
> ./create_test -xml_mach yellowstone -xml_compiler intel -xml_category aux_clm \
-mach yellowstone -compiler intel
# Normally it will submit the jobs as they are ready, but if it's interrupted you
# may need to submit by hand as follows...
# Submit the suite of tests (note $id refers to the integer job number for this job)
> ./cs.submit.$id.yellowstone
# Later check the tests with...
> ./cs.status.$id
# The above will give a PASS or FAIL message for each test.
For more information on doing testing with the CESM scripts see the CESM1.2.0 User's Guide on testing.