-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix met-8.1 to compile using GNU 6.3.0 and later. #1139
Comments
I made a corresponding branch from the master_v8.1 bugfix branch: And I'm testing in these locations: I've committed 3 changes to that bugfix branch so far: To fix this, I got rid of the vx_cgraph library from Makefile.am and instead just linked to the object files directly. These 3 changes enable MET to compile on mohawk and k15 but there are still runtime errors. |
make test errors out immediately: |
I updated the CommandLine class to use strings instead of character arrays, fixed the downstream ripple effects, and got MET to compile on both mohawk and k15. Running the full set of unit tests on mohawk required...
I ran into 2 random failures during the unit tests. Both went away after rerunning (which is worrisome). Both had the same error message when reading MET-formatted NetCDF files: TEST: gen_vx_mask_POLY_SYMDIFF - FAIL - 0.170 sec TEST: plot_data_plane_NC_MET - FAIL - 0.124 sec |
Another runtime error, but this time repeatable. Problem when parsing tc_stat job command options. Updated code to use a string instead of a character pointer. |
Updated met_file.cc to search for lat/lon dimensions using strings instead of const char * in the hopes of fixing the intermittent netCDF::exceptions::NcEdge runtime error. |
Charge 2702691 |
Making somewhat slow but steady progress. Working on mohawk (gnu 6.3.0) and k15 (gnu 8.3.0). (1) All NetCDF files have a header difference. NetCDF4 output files include: |
After merging the changes for this bugfix into develop and master_v8.1, the regression tests successfully ran. However, there is a sporadic, non-repeatable failure occurring on mohawk which occurs when writing NetCDF output files. The most recent instance was from gen_vx_mask and is listed below. This might be a memory problem, perhaps caused by an uninitialized variables somewhere. Will try compiling with Intel's -ftrapuv option to look for uninitialized variables. /d2/projects/MET/MET_development/MET/met/share/met/../../bin/gen_vx_mask |
Merged changes from this branch into both master_v8.1 and develop. Tested master_v8.1 on both mohawk (GNU 6.3.0) and k15 (GNU 8.3.0). Am also testing develop on them but that's independent of this issue. Will create a separate issue for sporadic runtime error. |
SNAT attempted to compile met-8.1 in /usr/local/met-8.1 but was unable to.
See: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90507
The Debian stretch release includes GNU 6.3.0 and Debian Buster release has GNU 8.x.
Howard Soh found that even when met-8.1 can be made to compile on 6.3.0 there are still runtime errors! This task is to get MET compiling on the Debian stretch and buster releases and make sure the unit test output matches the output generated by GNU 4.9.2 (i.e. dakota).
Debian buster is available for testing on k15.rap.ucar.edu.
The text was updated successfully, but these errors were encountered: