Top Banner
CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003
21

CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Dec 17, 2015

Download

Documents

Dominic Blair
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CCSM Testing Status

Tony Craig

Lawrence Buja

Wei Yu

CCSM SEWG Meeting

Feb 5, 2003

Page 2: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Outline

• Testing: when, who, why, what• What we do now• Where do we go next

Page 3: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Test StrategyWhen-Who-Why

WHEN WHO WHY

pre-commit developer validate changes

post-commit test engineer, automated?

verify commits

pre-release release team verify model is ready for release

post-release test engineer, automated?

verify platform is not changing

Page 4: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Test StrategyWhat

• Exact restart• Bit-for-bit, round-off, other• Different Platforms• Different Resolutions• Serial, multitasked, threaded, hybrid• Physics packages, dynamical cores• Scientific Validation - long climate runs• Performance• I/O, Data

Page 5: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Testing Process for each Component

ccsm atm lnd ocn ice cpl datapre-commit comp dev dev gate-

keepergate-keeper

? ?

post-commit test engr test engr gate-keeper

gate-keeper

gate-keeper

? ?

pre-release release team

release team

release team

N/A N/A N/A ?

post-release

test engr ? ? N/A N/A N/A ?

Page 6: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

What do we do now

• CAM test-model– used by developers

• CAM dev branch testing– automated testing after each commit

• CCSM beta tag tests– manual testing of entire system periodically

• CCSM release tests– automated testing of releases versions regularly

Page 7: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CAM test-model

• Script that runs many CAM cases automatically• Runs on many platforms (SGI, IBM, CPQ, PC/Linux)• Many automated tests

– dynamical cores– tasks and threads– error growth

Page 8: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CAM dev branch testing

• Automatic testing of CAM every night after a commit on the primary development branch

• Uses test-model• Runs on chinook, blackforest, anchorage

Page 9: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CCSM beta tag tests

• Exact restart testing– Various configurations– Various resolutions

• Comparison with previous beta tag

Page 10: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CCSM Release Tests

• Weekly testing of CCSM2.0, CCSM2.0.1 releases on – chinook– blackforest– bluesky– seaborg

• Includes some patches

Page 11: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

CCSM performance testing

• Carry out a large suite of timing tests• Comparison with previous versions• Determine appropriate load balance

Page 12: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

What next

• Develop a formal test plan document• Determine Who, When, Why, What• Establish formal processes for each component and

for the CCSM overall• Consider resources required (both people and

computer time)• Unit tests

Page 13: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Notes

• Test test-model• Test Configuration thoroughly, what’s supported,

– configuration = dycores, large components, physics, machine dependencies

• chunking• testing <-> requirements• test-model lite• add tests - cost?• difference between dev tests, nightly tests, release testing, test-

model is same for all• community testing

Page 14: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Notes - 2

• pop - coarse and high resolution tests cover most of physics space, also different pe configurations

• test-model compares to previous version, very useful• test-model for land exists• make consistency between stand-alone and ccsm

versions of the model, unify compiler options?• ccsm requirements vs component requirements• specs for makefile, specs in general?• unit tests - physics wrapper

Page 15: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Notes - 3

• Decide where tests take place, who is responsible for what parts

• recommendation that working groups test coupling aspects, also verification of make in coupled system,

• debug flags testing• gap in test process wrt make• track make fixes/changes through bug tracker• go to wg, get test requirements

Page 16: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Notes - 4

• performance requirement• science requirement• is it just the “control run”• get developers input on what should be in the test suite• library issues, internal libraries (ESMF, MCT), mass• test cost - test-model, chinook (1 hours, 16 pes), blackforest(30-

40 minutes, 32 pes), babyblue (30 minutes), anchorage (30 minutes), lots of time spent building

• regular testing, automated testing, different frequencies

Page 17: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Notes - 5

• Have components provide test suite to CSEG• different levels of testing

Page 18: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Recommendations

• component working groups test coupling, cseg liaisons coordinate

• develop specs for makefile• go to working groups, find out test requirements, then

decide who does what• develop ccsm test requirements• revisit benchmarking requirements

Page 19: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

Open Discussion

• Community has a difficult time keeping up with what’s happening in NCAR

• Could have more forward planning, IPCC, resolutions, chemistry, bgc,

• SE and science status• Should we make component development work more visible• CRBs, adaptation, software practices• Need more background on decisions made• Code review - need? time?• Design walkthroughs and code reviews are working for the

ocean model.• Code reviews help educate others on code

Page 20: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

open discussion - 2

• SEWG encourages the use of code reviews. SEWG will explain what we encourage. Recommend brown bag.

• recommend a code walkthrough of cpl6.• Discuss status of code review plans at june workshop, internal

SEWG• ccsm-progs, ccsm-sci, wg notes to be distributed to ?• get mailing lists under control• who do we make recommendations too? SSC, SE dev guide,

word of mouth

Page 21: CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.

open discussion - 3

• Get input from many developers on code review plans