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

added parallel I/O bench-marking program that mimics NOAA UFS data writing from the FV3 #1785

Merged
merged 53 commits into from
Jul 10, 2020
Merged

Conversation

edwardhartnett
Copy link
Contributor

Fixes #1771
Fixes #1770
Part of #1543
Part of #1710

This PR adds a benchmark/test program tst_gfs_data_1.c in the nc_perf directory. The test builds a file just like one output by NOAAs GFS code. It then writes some data to the file, just as NOAA does.

This is similar to the test recently merged to netcdf-fortran (Unidata/netcdf-fortran#265). However, the C test does timing of various choices (for example, compression level and use of shuffle).

See the netcdf-fortran issue for detailed description of the file contents.

The intent is to have a test that uses netCDF just like the NOAA FV3 code, but also allows us to time various choices to see what performs best.

The extra test is only build when --enable-benchmarks is used, for parallel I/O builds.

@edwardhartnett edwardhartnett requested a review from WardF as a code owner July 8, 2020 20:21
@WardF WardF mentioned this pull request Jul 9, 2020
@WardF WardF merged commit 0825c97 into Unidata:master Jul 10, 2020
@edwardhartnett edwardhartnett deleted the ejh_par_test branch July 10, 2020 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants