A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/LIVVkit/dashboard below:

LIVVkit/dashboard: Scripts to report to LIVVkit's CDASH

Build, test, and CDASH reporting worker for ice sheet models

THIS README IS CURRENTLY A WIP

Note:

The nightly scripts to be called by (s)cron are in the nightly_scripts directory for each model. For example for MALI on Perlmutter scron calls:

The MALI build, COMPASS build, and MALI Tests are carried out via pyctest where there are essentially 3 distinct work "phases":

Once those phases are complete, pyctest will then report the results to CDASH. In each of those phases, pyctest runs a single specified script to actually do that phase, so each of those phases will need a single script associated with it in the profile.

For these models, configuration and building are done separately to the running of tests so that each can be performed inside or out of a queuing system (e.g. slurm).

For example, the basic MALI build profile on NERSC's CORI looks like:

source_directory: /global/cscratch1/sd/mek/MPAS/MPAS-Model
build_directory: /global/cscratch1/sd/mek/MPAS
do_update: True
build_name: MALI-Build
configure_command: models/mali/cori_configure.sh
build_command: models/mali/cori_build.sh
cdash_section: MALI

And the test profile is similar, but has named tests.

source_directory: /global/cscratch1/sd/mek/MPAS/MPAS-Model
build_directory: /global/cscratch1/sd/mek/MPAS
build_name: MALI-Test
build_command: models/mali/cori_setup_tests.sh
test_command: models/mali/run_test.sh
cdash_section: MALI
test_timeout: 5940
tests:
  - regsuite

For both the Configure and Build phases, the configure command and build command are simply executed. For the test phase, pyctest will loop through all the specified tests in the tests: profile section, and run them like:

bash [TEST_COMMAND] [TEST_NAME]

So for the above profile, it would look like:

bash run_test.sh regsuite

Note: The command scripts are copied from their specified location in the profile to the build build directory and everything is executed from within the build directory.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4