William.Hatheway
Active member
@William.Hatheway In WPS at ungrib/src/rd_grib2.F please try the following (76-78 are just line numbers to provide context):
Code:76 integer , dimension(maxlvl) :: level_array 77 integer :: glevel1, glevel2 !< HERE change from real to integer 78 logical :: first = .true.
I believe this comes down to a misuse of types and the nuances of comparing of different precisions without explicit known narrowing to do a comparison (the actual error really did look like10.000001 != 10
)
I've confirmed this works for me using Intel 2025.1.1, and if it also works for you I will go ahead and make a WPS pull request
I figured out the issue, I modified the file after configuring and compiling when I needed to modify it before it. That seems to fix the problem as you said.