Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two extra I-Cases into acme test suite #301

Merged
merged 1 commit into from
Aug 27, 2015
Merged

Conversation

daliwang
Copy link
Contributor

Add an I1850CLM45CN case on f09_g16 grid and
an I1850CRUCLM45CN case on hcru_hcru grid

more information can be found on "Add two extra I_Cases
into acem test suite" on confluence

We also changed the default machine size to 64 for testing purpose

modified: scripts/acme/update_acme_tests.py
modified: scripts/ccsm_utils/Machines/config_pes.xml
modified: scripts/ccsm_utils/Testlistxml/testlist.xml

[Non-BFB]

LG-9 and SEG-67

@jgfouca
Copy link
Member

jgfouca commented Aug 19, 2015

@daliwang , how come these tests were not entered into scripts/acme/update_acme_tests.py?

@daliwang
Copy link
Contributor Author

I changed the scripts/ccsm_utils/Testlistxml/testlist.xml directly. Should I use the update_acme_test.py?

@bishtgautam
Copy link
Contributor

@jgfouca : Are you suggesting that apart from changes made to scripts/ccsm_utils/Testlistxml/testlist.xml, one should additionally update the scripts/acme/update_acme_tests.py?

@douglasjacobsen
Copy link
Member

When adding tests to the ACME test suites, one should never modify testlist.xml directly. Instead, they should add the tests to update_acme_tests.py and re-run the script to generate testlist.xml.

As is listed at the top of this page: https://acme-climate.atlassian.net/wiki/display/Docs/Modifying+the+tests

@daliwang
Copy link
Contributor Author

@jgfouca and @mrnorman .

I have problem to run update_acme_test.py on Titan, any suggestion?

FAIL: Command: './manage_xml_entries -removetests -category acme_developer' failed with error 'Can't locate object method "nonBlankChildNodes" via package "XML::LibXML::Element" at ./manage_xml_entries line 583.

@douglasjacobsen
Copy link
Member

That looks like a perl issue. Maybe you need to load a perl module before running it?

@jgfouca
Copy link
Member

jgfouca commented Aug 19, 2015

As @douglasjacobsen said, the update_acme_tests is used to manage ACME test suites. If you update testlist.xml directly, then the next time someone updates tests the right way your changes will be lost.

@jgfouca
Copy link
Member

jgfouca commented Aug 19, 2015

@daliwang , for what it's worth, if you're having problem on titan, the update_acme_tests can be run from any machine.

@daliwang
Copy link
Contributor Author

@jgfouca and @douglasjacobsen. It is the perl problem. I have updated the scripts/acme/update_acme_tests.py and regenerated the testlist.xml. I have also tested these two cases again. (I have already tested whole test suites on Monday). New baselines need to be generated. Thanks.

@bishtgautam
Copy link
Contributor

@douglasjacobsen : Thanks for the link to the webpage on adding tests. I earlier missed it.

@jgfouca
Copy link
Member

jgfouca commented Aug 20, 2015

Looks like you guys updated update_acme_tests. Is this now ready to go?

@daliwang
Copy link
Contributor Author

@jgfouca. Yes. it is ready to go. Thanks.

Add an I1850CLM45CN case on f09_g16 grid and
    an I1850CRUCLM45CN case on hcru_hcru grid

more information can be found on "Add two extra I_Cases
into acem test suite" on confluence

We also changed the default machine size to 64 for testing purpose

   modified:   scripts/acme/update_acme_tests.py
   modified:   scripts/ccsm_utils/Machines/config_pes.xml
   modified:   scripts/ccsm_utils/Testlistxml/testlist.xml

[Non-BFB]

LG-9 and SEG-67
@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

@daliwang , I had to amend your commit. You added your tests to both acme_developer and acme_integration in update_acme_tests.py. This is not valid because acme_integration is a superset of acme_developer, so the tests only needed to be added to acme_developer. Also, you forgot to update the acme_integration test suite in testlist.xml.

jgfouca added a commit that referenced this pull request Aug 21, 2015
Add two extra I-Cases into acme test suite

Add an I1850CLM45CN case on f09_g16 grid and
an I1850CRUCLM45CN case on hcru_hcru grid

more information can be found on "Add two extra I_Cases
into acem test suite" on confluence

We also changed the default machine size to 64 for testing purpose

modified: scripts/acme/update_acme_tests.py

modified: scripts/ccsm_utils/Machines/config_pes.xml
modified: scripts/ccsm_utils/Testlistxml/testlist.xml

[Non-BFB]

LG-9 and SEG-67

* daliwang/land/tests:
  Add two extra I-Cases into acme test suite
@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

@daliwang , it looks like these tests require a number of new input files that are not available in the acme input repository. Is that correct?

@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

@jnjohnsonlbl , I do not have the permissions necessary to get the input files I need on edison. Please run:
./create_test -g SMS.f09_g16.I1850CLM45CN SMS.hcru_hcru.I1850CRUCLM45CN
on the next branch on edison.

@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

@daliwang , even with the CESG input repo, I still see a ton of these errors:
File status unknown: /home/jgfouca/acme/ptclmdata/atm_forcing.datm7.cruncep_qianFill.0.5d.V4.c130305/Solar6Hrly/clmforc.cruncep.V4.c2011.0.5d.Solr.1901-01.nc

@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

@ACME-Climate/developers , any idea why blues is happily downloading dozens of input files while every other platform is just copping out with this message:

File status unknown: /glade/proj2/cgd/tss/atm_forcing.datm7.cruncep_qianFill.0.5d.V4.c130305/Solar6Hrly/clmforc.cruncep.V4.c2011.0.5d.Solr.1901-01.nc
...

@jgfouca
Copy link
Member

jgfouca commented Aug 21, 2015

Nevermind, DIN_LOC_ROOT_CLMFORC was not defined correctly for a number of our machines.

@daliwang
Copy link
Contributor Author

@jgfouca. Sorry for the late reply. The CLMFORC is new dataset generated by ORNL, along with PR 268 (https://acme-climate.atlassian.net/wiki/display/LND/Generating+new+surface+data+including+soil+order+for+phosphorus+cycle). Thanks.

@jgfouca
Copy link
Member

jgfouca commented Aug 24, 2015

@daliwang , I cannot obtain this file /home/ccsm-data/inputdata/atm/datm7/atm_forcing.datm7.cruncep_qianFill.0.5d.V4.c130305/TPHWL6Hrly/clmforc.cruncep.V4.c2011.0.5d.TPQWL.1907-08.nc

From either the ACME or SVN input data repositories.

@jgfouca
Copy link
Member

jgfouca commented Aug 24, 2015

@daliwang , do these tests really use 100+ years of data?

@daliwang
Copy link
Contributor Author

@jgfouca. Sorry for the late reply.

Those cases check the data availability (1850-2005) before the simulation. The SMS tests themselves only need 5 days or 1 month. We will need those data for other follow up (long) test cases.

I am working to get the /home/ccsm-data/inputdata/atm/datm7/atm_forcing.datm7.cruncep_qianFill.0.5d.V4.c130305/TPHWL6Hrly/clmforc.cruncep.V4.c2011.0.5d.TPQWL.1907-08.nc into acme-svn2. Is this the only file missing?

@jgfouca
Copy link
Member

jgfouca commented Aug 25, 2015

@daliwang , yes I think that's the only missing file.

@daliwang
Copy link
Contributor Author

@jgfouca. That file is in ACME repo now. I tried to upload the whole CRU forcing dataset into acme data repo today without success. It will try to get it sorted out late today.

@jgfouca
Copy link
Member

jgfouca commented Aug 26, 2015

@daliwang , thanks, I'm getting that file now. Another thing, I'm seeing this diff:

17198,17199c17198,17199 < 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0468376233638459, 0.135802914565793, < 0.0981012885553448, 0.0854576027744043, 0.0245657950765278, 0, 0, 0, 0, --- > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0487456139386837, 0.146150304607452,
FAIL
hist file comparison is FAIL

For test ERS.f09_g16.B1850C5, is that expected?

@bishtgautam
Copy link
Contributor

@jgfouca : The difference might be because of changes made in processor layout in scripts/ccsm_utils/Machines/config_pes.xml. Aren't there differences in env_mach_pes.xml?

@jgfouca
Copy link
Member

jgfouca commented Aug 26, 2015

Yes, I'm sure that must be it.

@daliwang
Copy link
Contributor Author

@jgfouca. The default machine size is 384 for the f09_g16. I have changed it to 64 for the testing purpose. Thanks.

@jgfouca jgfouca merged commit a923a92 into master Aug 27, 2015
jgfouca added a commit that referenced this pull request Aug 27, 2015
Add two extra I-Cases into acme test suite

Add an I1850CLM45CN case on f09_g16 grid and
an I1850CRUCLM45CN case on hcru_hcru grid

more information can be found on "Add two extra I_Cases
into acem test suite" on confluence

We also changed the default machine size to 64 for testing purpose

modified: scripts/acme/update_acme_tests.py

modified: scripts/ccsm_utils/Machines/config_pes.xml
modified: scripts/ccsm_utils/Testlistxml/testlist.xml

[Non-BFB]

LG-9 and SEG-67

* daliwang/land/tests:
  Add two extra I-Cases into acme test suite
@jgfouca
Copy link
Member

jgfouca commented Aug 27, 2015

Integration tests look good and I'm finally done downloading input files on all the test platforms, merging. @jnjohnsonlbl , did you get a chance to download all those input files on edison?

@jgfouca jgfouca deleted the daliwang/land/tests branch August 27, 2015 20:46
@jeff-cohere
Copy link
Contributor

Retrying. I encountered problems trying to do it earlier with

./create_test -g SMS.f09_g16.I1850CLM45CN SMS.hcru_hcru.I1850CRUCLM45CN -xml_mach edison -xml_category acme_integration -xml_compiler intel

but had to move onto something else, and I don't recall what they were.

@jgfouca
Copy link
Member

jgfouca commented Aug 27, 2015

That create_test command doesn't look right. Is that our script or theirs?

@jeff-cohere
Copy link
Contributor

It's theirs. I'll try the ACME one with your instructions.

@jgfouca
Copy link
Member

jgfouca commented Aug 27, 2015

I don't theirs supports "-g" or listing test cases like that. For ours:
scripts/acme/create_test -g [test1] [test2]
It will use the "next" baselines if that's your current branch.

@jeff-cohere
Copy link
Contributor

Ok, I've run the script and fetched the input files. You're good to go from my end, @jgfouca.

@jgfouca
Copy link
Member

jgfouca commented Aug 27, 2015

Thanks

@singhbalwinder
Copy link
Contributor

@daliwang : Why were these tests implemented using FV grid and not the SE grid?

@jgfouca
Copy link
Member

jgfouca commented Aug 28, 2015

@singhbalwinder , @daliwang i was just about to merge this to master, should I hold off?

@singhbalwinder
Copy link
Contributor

I thought they are already in master. They showed up today when I ran acme developer tests on master

@jgfouca
Copy link
Member

jgfouca commented Aug 28, 2015

Heh, I'm clearly juggling too many things. Yes, I forgot that I already merged this.

rljacob added a commit that referenced this pull request Aug 11, 2016
12d2135 Merge pull request #388 from ESMCI/jgfouca/need_to_report_build_exceptions
8f677cd Add test to ensure build fails report info to teststatus.log
7095ef0 Need to report build exception contents
7c9cc94 Merge pull request #387 from ESMCI/jgfouca/fix_case_build_return_code
bf941ed case.build needs to check success in order to return a sane error code
df432e8 update ChangeLog
154d5f8 Merge pull request #378 from ESMCI/rljacob/update-config-files
6b8fc76 Merge pull request #382 from ESMCI/sarich/fix-taskmaker-counter
5df46a2 Merge pull request #381 from jedwards4b/test_fixes
e58d624 component_compare_test was not properly reporting failures
0e0e577 Update acme config_files for mpas
84122dd Merge pull request #376 from ESMCI/jgfouca/changes_from_acme
38e2f8a More stuff from ACME
c86398e Merge pull request #375 from ESMCI/jgfouca/portable_run_cmd_utest
daaf621 Merge pull request #373 from ESMCI/jgfouca/enhance_bisect
e61ba96 Change MPAS compset for test
c77a64e Add homme python test
3031f00 Better support for 'none' module system
3ceef7b Make run_cmd_no_fail unit test more portable
bbd20fb Merge branch 'jgfouca/fix_module_list' (PR #374)
6eb8143 Reactivate creation of software_environment.txt
4dd30c6 Ensure module setup is sourced before list
c8bd20e fix bug in translation from perl
20a3412 cime_bisect: Add better support for modifying create_test run
77871de update changelog
e74906b comment out code until it works for tcsh users
4a13413 fix issue with module list
6ad4b2d update changelog
cef688d update changelog
835b511 Merge pull request #367 from jedwards4b/user_mod_0len_fix
b280b55 Merge pull request #362 from ESMCI/jgfouca/remove_perl_taskmaker
12a30ee Merge pull request #356 from ESMCI/jgfouca/minor_timing_chg
3fb0b80 Merge pull request #355 from ESMCI/jgfouca/wait_for_test_refactor
d083933 user_nl_ file was being removed if a user_nl file in any mods directory was missing
39de940 Fix comment
5d38420 Revert "Merge pull request #343 from ESMCI/wilke/scripts/xmlchange"
8dc2354 Merge pull request #363 from ESMCI/rljacob/machines/fix-acme
0773aac Increase default walltime for blues
c4dce0f Remove last uses of taskmaker.pl
76eb1bc Remove -A directive from edison
d67b267 Merge pull request #361 from billsacks/cism_nag
bf02e3e Merge pull request #357 from ekluzek/fixpionml
c9b8910 Seperate out modelio namelist definition since it uses the same names, but defines them differently
805ad7f Add -mismatch_all when compiling cism with nag
fff9a9b Set CHECK_TIMING to true in addition to SAVE_TIMING if --save-timing given to create_test
f25a518 wait_for_tests will now always specifically wait for the RUN phase
e19e72c Update drv buildnamelist test to work with cime5
db1538e Merge branch 'douglasjacobsen/add_lanl_machines' (PR #353)
893c6c6 Add support for LANL's mustang and wolf to cime
dea8a3a Merge pull request #350 from ESMCI/rerun_test_functionality
9b4488b Changes based on github feedback
c103e08 Add SAVE_TIMING_DIR for edison
98f95bb Merge pull request #341 from ESMCI/santos/fix-env-leakage
1b775e4 Fixes post-upstream-merge
ea97b56 Merge branch 'master' into rerun_test_functionality
1ca1b83 Merge pull request #348 from ESMCI/jayeshkrishna/machinefiles/get_acme_cime_dev_working_on_mira
252aea7 Merge pull request #343 from ESMCI/wilke/scripts/xmlchange
2db894f Add missing files
622b7d0 Complete
ba69385 progress
84000ee Fixing the runjob command for ACME on Mira
1a55232 Adding config for ERS_Ld3.ne30_g16_rx1.A test
d1df346 Error handling; check for correct length of key-value pair array after split
fa1cb49 listofsettings allways an array, test for length of array
a6a3d33 Changed number of expected positional arguments to 0 or 1 , warnings and debug statements
74d2100 checking for missing values in settings string from command line
cd350da Remove `GenericXML` check for env variables.
6ca6b59 progress
e7b334e Merge pull request #340 from ESMCI/douglasjacobsen/fix_test_template
43807a5 Add white space after batch directives in script templates
e061505 Merge pull request #337 from ESMCI/jgfouca/autosave_env_info
edc1671 Autosave environment information in case_setup.
33ce89b Merge pull request #336 from ESMCI/jgfouca/fix_create_test_not_catching_missing_project
c3f8f84 create_test was not failing the create_newcase phase when project info was missing
fef81df Merge pull request #335 from ESMCI/jgfouca/add_queue_option_to_create_test
731f8a0 Add ability to select queue to create_test and create_newcase
6f9613f Merge pull request #333 from ESMCI/jgfouca/even_more_sky_env_fixes
11877a2 Fix mismatch between MPI_PATH and the mpi module being loaded
d37e177 Merge pull request #322 from ESMCI/jgfouca/restore_good_python_version_error
ad18c34 Merge pull request #331 from ESMCI/jgfouca/reduce_output_from_check_input_data
0268cb7 Only report present files in debug mode
47b4216 Fix spelling mistake
dddd7f0 Merge pull request #327 from ESMCI/jgfouca/fix_more_sky_env_issues
07aeb52 Get cime_developer building again on skybridge.
0aceb94 Merge branch 'wilke/template/directives' (PR #324)
d8f331c moved batchdirectives to top of the template
dbbd3a1 Users should get a nice error when their python is too old
5eea798 Merge pull request #320 from ESMCI/jgfouca/fix_skybridge_env_issues
ca3e004 Fix skybridge environment problems, port to new SEMS modules
1a82a57 Merge pull request #318 from ESMCI/jgfouca/remove_sentinel_concept
e266dd9 Remove sentinel concept from jenkins_generic_job
aae8e30 comments for cime5.0.5
e20f807 Merge pull request #317 from billsacks/restore_lii
1967bb3 Restore LII test
c404dfa Merge remote-tracking branch 'origin/master'
0406b7d updates for cime5.0.4
7930cd7 Merge pull request #316 from ESMCI/jgfouca/update_code_checker
009f7a1 code_checker: Leverage .gitignore by using git ls-files instead of find to get list of ifles to check
c5555c7 Merge pull request #315 from Katetc/master
c4817d7 fix issue 314
7a493a0 remove multiple run lines from test file
c269ab9 Merge pull request #313 from ESMCI/jgfouca/correctly_report_problem_in_test
734e4b4 Rolling the Intel compiler back to v15.0.2
9a46a99 On batch systems, be sure to report that the problem is with wait_for_tests, not create_test
0e95d19 add some more info to README file
e9586c1 Changes required to support the new Hobart cluster configuration
cdb7805 update documentation for --xml options
98a0380 Merge pull request #307 from ESMCI/rljacob/tests/add-readme
46ff3c6 work on test rerunability
c5f2ae9 Merge pull request #308 from ESMCI/jgfouca/fix_check_input_bug
bddea72 document ERR test
8639ba1 create ability to run tests in same case more than once
b18580b Fix minor erroneous output bug in check_input_data
6f3e448 Add README back to Testcases
fd001a7 Add README back to SystemTests
929f05a Merge pull request #305 from ESMCI/jgfouca/advanced_profiling_tool
20c2e22 Make prof tools a bit more user friendly
1f9b49b Merge pull request #304 from jedwards4b/dynamic_system_test_dirs
0ba7f50 handle so that we dont have a list of test names to maintain
92a266e handle so that we dont have a list of test names to maintain
99f3d35 New tool 'advanced-py-prof'
4e6f7f5 initialize contents
3703d94 machine specific fixes for edison/cori/slurm systems
f6dc40a fixes git issue 303
7bacf48 repeat change for acme
503d5ad load system test directories dynamically based on paths in config_files.xml
b28ddff Merge pull request #302 from ESMCI/jgfouca/profiling_tool_etc
0e1553f Add a new tool for very simple python profiling
1eb2a56 Merge pull request #301 from jedwards4b/shell_commands_delete
2f78ec7 remove any existing shell_commands files from case before writing new ones
5f85c05 update changelog for tag
4ef656d pylint fixes
8624ece fix needed for scripts_regression_tests following PR298
6cc9110 These were supposed to be in PR296
d19afa9 Merge remote-tracking branch 'jedwards/testing_fixes' (PR #296)
b302243 Merge pull request #298 from ESMCI/jgfouca/restore_verbose
0a95b04 component_compare_test should fail if one of the components to be compared is not found"
9aa8683 Reintroduce verbose option into the refactored logging system
a796384 fix for lii test and response to review
d8c9b2e Merge pull request #286 from jedwards4b/buildnml_output_fix
1894e28 improve documetation of debug option, remove incorrect documentation of verbose option
21ef9ae remove whitespace surrounding test names
f6fdbb7 fix erp test update ChangeLog
b8b4723 Fix LII test
daa0c63 rename bisect unit test from acme to cime
4f1a079 move pecount code from create_test to create_newcase
24eb48f move clm include directory to prevent build confusion
1ee4449 add support for ascii testfile, allow multiple compilers in tests
d6c28b4 fix memleak test giving error if baseline not found
8ff5f19 Merge pull request #287 from ESMCI/nag_mismatch
a57e410 Remove `-mismatch_all` from NAG options in CESM.
5040500 output from buildnml scripts now prints

git-subtree-dir: cime
git-subtree-split: 12d2135
jonbob added a commit that referenced this pull request Jul 1, 2019
…t (PR #3033)

Update mpas-source: COMPASS testing, whitespace, documentation

This PR updates the mpas-source submodule with changes to MPAS-Ocean for some
bfb clean-up:
* Fixes typo in particle file initialization script (MPAS-Dev/MPAS-Model #302)
* Change name coriolis to hadv_coriolis (MPAS-Dev/MPAS-Model #293)
  Note: this is internal variable and module name only, not a flag
* Stream defaults and white space corrections in xml file (MPAS-Dev/MPAS-Model #303)
  Note: does not affect E3SM
* Update README for COMPASS ocean with latest mpas_tools (MPAS-Dev/MPAS-Model #292)
* Update COMPASS for python version of JIGSAW (MPAS-Dev/MPAS-Model #301)

[BFB]
jonbob added a commit that referenced this pull request Jul 2, 2019
Update mpas-source: COMPASS testing, whitespace, documentation

This PR updates the mpas-source submodule with changes to MPAS-Ocean for some
bfb clean-up:
* Fixes typo in particle file initialization script (MPAS-Dev/MPAS-Model #302)
* Change name coriolis to hadv_coriolis (MPAS-Dev/MPAS-Model #293)
  Note: this is internal variable and module name only, not a flag
* Stream defaults and white space corrections in xml file (MPAS-Dev/MPAS-Model #303)
  Note: does not affect E3SM
* Update README for COMPASS ocean with latest mpas_tools (MPAS-Dev/MPAS-Model #292)
* Update COMPASS for python version of JIGSAW (MPAS-Dev/MPAS-Model #301)

[BFB]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants