wrf-model / WRF

The official repository for the Weather Research and Forecasting (WRF) model
Other
1.18k stars 658 forks source link

Enable WRFDA's compilation with RTTOV and HDF5 libs on Derecho #1979

Closed liujake closed 5 months ago

liujake commented 6 months ago

Enable WRFDA's compilation with RTTOV and HDF5 libs on Derecho

TYPE: maintenance

KEYWORDS: HDF5, RTTOV, WRFDA

SOURCE: internal

DESCRIPTION OF CHANGES: Problem: HDF5 lib on derecho is changed, which makes WRFDA compilation failed when including RTTOV lib with HDF5. By default, HDF5 and RTTOV libs are turned off when building WRFDA.

Solution: Change an existing HDF5 lib name and add additional HDF5 libs. For gcc:

setenv HDF5 /glade/u/apps/derecho/23.06/spack/opt/spack/hdf5/1.12.2/cray-mpich/8.1.25/gcc/12.2.0/wjdl setenv RTTOV /glade/work/liuz/RTTOVv12.1/hdf5/gnu_12.2.0

before configure/compile WRFDA.

LIST OF MODIFIED FILES: M compile

TESTS CONDUCTED:

  1. Build successfully with gnu on Derecho

RELEASE NOTE: None

liujake commented 6 months ago

I received: Test Type | Expected | Received | Failed = = = = = = = = = = = = = = = = = = = = = = = = = = = = Number of Tests : 23 24 Number of Builds : 60 57 Number of Simulations : 158 150 0 Number of Comparisons : 95 86 0

Failed Simulations are: 
None
Which comparisons are not bit-for-bit: 
None
weiwangncar commented 6 months ago

The regression test results:

Test Type              | Expected  | Received |  Failed
= = = = = = = = = = = = = = = = = = = = = = = =  = = = =
Number of Tests        : 23           24
Number of Builds       : 60           57
Number of Simulations  : 158           150        0
Number of Comparisons  : 95           86        0

Failed Simulations are: 
None
Which comparisons are not bit-for-bit: 
None
liujake commented 6 months ago

Can someone else give another approve so that I can merge? Regression looks passed though web displays 'uncompleted'. This only affects WRFDA compile, will not affect WRF build.