-
Notifications
You must be signed in to change notification settings - Fork 159
Test script updates and input tests #800
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
Merged
Merged
Changes from 74 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
d3d2c7b
Fix C type issues causing errors for some compiles
underwoo ef54abe
Merge branch 'fix.c.types' into 209-darwin.test.fix
underwoo 96ff432
Move mkdir of .mods to part of .F90.mod target
underwoo 7b7ef77
Initial modification of test_fms
underwoo 79368af
Forgot to add configure.ac
underwoo 7211826
Additional changes to allow the truncated tests to pass CI
underwoo da7f3e7
Write all output to screen/log in test-lib
underwoo a3c71d3
Add ./ to affinity and axis_utils tests
underwoo c77bc4b
Adding back drifters test
underwoo 2e8c4cf
Add exchange to test
underwoo 8ade115
Merge branch '649-test_unstruct_fms_io.fix' into 209-darwin.test.fix
underwoo c618529
Add exchange, field_manager fms2_io and horiz_interp tests back
underwoo bc54858
A few fixes to allow make dist work
underwoo a96d67f
Added ./ to test_drifters2.sh tests
underwoo fdb9d42
Updated time_manager test to use new harness and run each test indivi…
b37a6d7
Updated mpp_io script and fixed failing test in time manager
040eb17
Allows testing harness to skip double digit test numbers
ca789a8
Add automake generated log driver file
cdd72f9
Add option for verbose output
9d27d14
Update most test scripts for mpp
a7ac82b
Output fixes + fix npes test
a33383a
fix whitespace + input issues
9407722
mpp test fixes
0267771
Merge branch 'master' into pr654
aad8238
Add test_fms/mpp dir to build tools
9165160
Update test_mpp.F90 to latest version
c503ff6
Update makefiles
b611eae
Update mixed prec test scripts
48bf8f4
Fix typo
24704af
Merge remote-tracking branch 'origin/mixedPrecTestingUpdates' into te…
bb8719e
Remove extra tap-driver and update mpp_io test
6353f5b
add descriptions to time_manager test
478dbe9
Merge remote-tracking branch 'upstream/master' into testingUpdates
ed55702
Clean up descriptions, allow xfails to be skipped for ascii test
fbd5230
Merge remote-tracking branch 'upstream/master' into testingUpdates
f14fe86
Added list of skipped test numbers to output
2f268ba
Removed input files, fix skip logic to work for double digits, clean …
ba2031e
Adds removed tests from mpp_domains and fixes run script
0548a44
Fix pe counts and subset test
dbb942f
Adds new tests and fixes for existing
dd289c1
Fixed pelist issues with single face nested test
01fafef
Fixed nonsym edge test
c185e1e
Fix mpp/makefile and update run script
23a127b
Add in old mpp unit tests that were never merged
211bc0a
Add in test files
04c7182
Merge in latest updates and update added test
6cb68ee
Script updates for all other test subdirectories, fixes for mpp tests
e8ac424
Merge remote-tracking branch 'upstream/main' into testingUpdates
be22c96
Removes remaining internal namelist macros from tests and fixes diag_…
627f173
modify to test diurnal
uramirez8707 a99650e
Add option for using test input files
37ceb52
Merge remote-tracking branch 'upstream/main' into testingUpdates
93041be
Fixes the 3d diurnal issue and reverts test scripts back to original …
0827674
Merge branch 'NOAA-GFDL:main' into diurnal_test
uramirez8707 08825d5
Merge branch 'main' of github.com:NOAA-GFDL/FMS into diurnal_test
uramirez8707 254287f
merge in Tom's use_mpp_io removal branch and solve conflicts
uramirez8707 f340da2
Merge branch 'main' of github.com:NOAA-GFDL/FMS into diurnal_test
uramirez8707 934242f
idk, magic?
fc74070
more clean up, corrects type assigment
35c30d1
Merge branch 'NOAA-GFDL:main' into diurnal_test
uramirez8707 c884662
Finish input file support, fixes for make distcheck
87ceec8
Merge remote-tracking branch 'upstream/main' into testingUpdates
9df98e6
Delete unused input files and update makefiles
5b80bf3
Fix shell compatibility issues with the CI
5d9f16e
Missed a shell issue
d9fe2af
Fix hiding awk ci issue, change so verbose flag just needs to be set
1c3a23f
Remove unnecessary input script and fix more shell issues
3e920f5
Revert affinity change and clear output before xgrid test
8ca1565
Merge branch 'pr798' into HEAD
e0662c8
Fix typo in input file name for test_mpp_domains
a5b06cc
Removes include from fms2_io test makefile to get rid of warning
9a4855c
Removes horiz_interp input file test, fixes input files and duplicate…
0e8a890
Forgot to remove test2_horiz_interp.F90 file
dbbef8a
Merge remote-tracking branch 'upstream/main' into testingUpdates
bd389ba
Create separate nesting test, fix mixed mode failures
5ca3563
Merge remote-tracking branch 'upstream/main' into testingUpdates
fda55c0
Remove checksum skips and cleanup
c9f5cac
Add mpp_exit call to nesting test
b9c4942
Merge remote-tracking branch 'upstream/main' into testingUpdates
6b60dcd
Merge remote-tracking branch 'upstream/main' into testingUpdates
11eb5fd
Fix fms2_io typo and failing from leftover files
14ede33
Update yaml test script, makefile
fd994e0
Merge remote-tracking branch 'upstream/main' into testingUpdates
502ba81
Remove a line from the warnings clean up causing redistributes to fail
73cfd1d
Merge remote-tracking branch 'upstream/main' into testingUpdates
c94610f
Fix line lengths for the linter
ec1c5f8
missed some whitespace
47f88a7
lost a comma
7291341
Address review comments
56cf82b
Missed an error message fix
7771478
modified: test_fms/mpp/test_domains_utility_mod.F90
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,7 +36,6 @@ Makefile.in | |
| /mdate-sh | ||
| /py-compile | ||
| /test-driver | ||
| /tap-driver.sh | ||
| /ylwrap | ||
| *.log | ||
| *.trs | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| # Ensure the $(MODDIR) exists | ||
| $(shell test -d $(MODDIR) || mkdir -p $(MODDIR)) | ||
|
|
||
| SUFFIXES = .$(FC_MODEXT) _mod.$(FC_MODEXT) | ||
| .F90.$(FC_MODEXT) .F90_mod.$(FC_MODEXT) .f90.$(FC_MODEXT) .f90_mod.$(FC_MODEXT): | ||
| test -d $(MODDIR) || mkdir -p $(MODDIR) | ||
| $(PPFCCOMPILE) -c $< | ||
| @cp $(MODDIR)/$@ . | ||
| @if test -e $(MODDIR)/$@; then cp $(MODDIR)/$@ .; fi | ||
|
|
||
| CLEANFILES = *.$(FC_MODEXT) $(BUILT_SOURCES:%=$(MODDIR)/%) *__genmod.$(FC_MODEXT) *__genmod.f90 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,7 +54,7 @@ void handle_netcdf_error(const char *msg, int status ) | |
| void get_file_dir(const char *file, char *dir) | ||
| { | ||
| int len; | ||
| char *strptr = NULL; | ||
| const char *strptr = NULL; | ||
|
|
||
| /* get the diretory */ | ||
|
|
||
|
|
@@ -259,13 +259,13 @@ void get_var_data(const char *file, const char *name, void *data) | |
| switch (vartype) { | ||
| case NC_DOUBLE:case NC_FLOAT: | ||
| #ifdef OVERLOAD_R4 | ||
| status = nc_get_var_float(ncid, varid, data); | ||
| status = nc_get_var_float(ncid, varid, (float *)data); | ||
| #else | ||
| status = nc_get_var_double(ncid, varid, data); | ||
| status = nc_get_var_double(ncid, varid, (double *)data); | ||
| #endif | ||
| break; | ||
| case NC_INT: | ||
| status = nc_get_var_int(ncid, varid, data); | ||
| status = nc_get_var_int(ncid, varid, (int *)data); | ||
| break; | ||
| default: | ||
| sprintf(msg, "get_var_data: field %s in file %s has an invalid type, " | ||
|
|
@@ -319,13 +319,13 @@ void get_var_data_region(const char *file, const char *name, const size_t *start | |
| switch (vartype) { | ||
| case NC_DOUBLE:case NC_FLOAT: | ||
| #ifdef OVERLOAD_R4 | ||
| status = nc_get_vara_float(ncid, varid, start, nread, data); | ||
| status = nc_get_vara_float(ncid, varid, start, nread, (float *)data); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above |
||
| #else | ||
| status = nc_get_vara_double(ncid, varid, start, nread, data); | ||
| status = nc_get_vara_double(ncid, varid, start, nread, (double *)data); | ||
| #endif | ||
| break; | ||
| case NC_INT: | ||
| status = nc_get_vara_int(ncid, varid, start, nread, data); | ||
| status = nc_get_vara_int(ncid, varid, start, nread, (int *)data); | ||
| break; | ||
| default: | ||
| sprintf(msg, "get_var_data_region: field %s in file %s has an invalid type, " | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this OVERLOAD potentially affecting how things work and should the NC_DOUBLE and NC_FLOAT cases be broken into individual cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes were put in by seth in #654 actually to fix some compile issues on darwin, but they look good to me. With the previous logic it would read in data as float or double based on whichever is the fortran default kind so this just adds the cast to data since its a void pointer.