You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newest version of UPP has a 4D variable (in module VRBLS4D) called "EBB" which replaces its prior 2D variable (in module VRBLS2D). FV3's inline post (io/post_fv3.F90) tries to access the 2D array, which no longer exist. This must be corrected before the UPP hash can update.
It appears EBB(:,:,:,1) comes from the ebu_smoke variable. Only the first index (:,:,:,1) of the array is ever used. This change came from @EricJames-NOAA. Nobody made the corresponding change to the inline post. Indeed, they couldn't since there is a library version incompatibility between UPP and ufs-weather-model (see ufs-community/ufs-weather-model#2322).
I think the solution is to send ebu_smoke into ebb(:,:,:,1) in post_fv3.F90.
To Reproduce:
What compilers/machines are you seeing this with?
Give explicit steps to reproduce the behavior.
Update the upp submodule to the head of UPP's develop branch.
Update the ufs-weather-model to use the upp-addon-env Spack Stack.
Try to compile with the Intel compiler on Hera. (Spack Stack has been updated there.)
Witness the errors in accessing the EBB variable in post_fv3.F90
Additional context
This problem came up when trying to add new fields to the inline post. To do that, we must update the UPP submodule hash to the head of develop. After I got past the library incompatibility, I ran into this EBB trouble.
Output
N/A
Testing:
No code changes yet.
Dependent PRs:
N/A
The text was updated successfully, but these errors were encountered:
Description
The newest version of UPP has a 4D variable (in module VRBLS4D) called "EBB" which replaces its prior 2D variable (in module VRBLS2D). FV3's inline post (io/post_fv3.F90) tries to access the 2D array, which no longer exist. This must be corrected before the UPP hash can update.
It appears EBB(:,:,:,1) comes from the ebu_smoke variable. Only the first index (:,:,:,1) of the array is ever used. This change came from @EricJames-NOAA. Nobody made the corresponding change to the inline post. Indeed, they couldn't since there is a library version incompatibility between UPP and ufs-weather-model (see ufs-community/ufs-weather-model#2322).
I think the solution is to send ebu_smoke into ebb(:,:,:,1) in post_fv3.F90.
To Reproduce:
What compilers/machines are you seeing this with?
Give explicit steps to reproduce the behavior.
Additional context
This problem came up when trying to add new fields to the inline post. To do that, we must update the UPP submodule hash to the head of develop. After I got past the library incompatibility, I ran into this EBB trouble.
Output
N/A
Testing:
No code changes yet.
Dependent PRs:
N/A
The text was updated successfully, but these errors were encountered: