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

two arrays are not initialized in fv_ufs_restart_io.F90 #281

Closed
SamuelTrahanNOAA opened this issue Sep 9, 2023 · 0 comments · Fixed by ufs-community/ufs-weather-model#1893

Comments

@SamuelTrahanNOAA
Copy link

Describe the bug
Found by @DusanJovic-NOAA and detailed in ufs-community/ufs-weather-model#1882 (comment)

The srf_wnd_var2 and tracers_var3 arrays are not initialized after allocation in fv_ufs_restart_io.F90. This can cause the ufs-weather-model write component's quilting restart to fail. When ESMF copies data from compute ranks to write ranks, it'll encounter NaN values if the uninitialized array happen to contain any.

To Reproduce
Read the code?

Expected behavior
Arrays should be initialized.

System Environment
Describe the system environment, include: N/A
Error is apparent in the code.

Additional context
Full details are here:

ufs-community/ufs-weather-model#1882 (comment)

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