-
Notifications
You must be signed in to change notification settings - Fork 2
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
Code changes for files in the diag_manager
directory
#1
Code changes for files in the diag_manager
directory
#1
Conversation
diag_manager
directorydiag_manager
directory
REAL, OPTIONAL, INTENT(in) :: missing_value !< Missing value value. | ||
REAL, DIMENSION(2), OPTIONAL, INTENT(IN) :: range !< Valid range of values for field. | ||
CLASS(*), OPTIONAL, INTENT(in) :: missing_value !< Missing value value. | ||
CLASS(*), DIMENSION(:), OPTIONAL, INTENT(IN) :: range !< Valid range of values for field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we need to implement like this if we have data array passed in with dimension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I still don't understand the reason for this, but it allows the GNU unit tests to pass.
MODULE PROCEDURE send_data_2d_r8 | ||
MODULE PROCEDURE send_data_3d_r8 | ||
#endif | ||
!#ifdef OVERLOAD_R8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we already discussed this, would you please remind me why we need to comment out OVERLOAD_R8? My thinking is that 1) when we compile fms with r8 for mixed mode, we won't use "-DOVERLOAD_R8", so the code send*_r8 won't appear (just like you comment them off); 2) when we compile fms with r4 as before, we will use "-DOVERLOAD_R8", so the code can work as before. Is my understanding correct for 2)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because send_data_2d
and send_data_3d
now use class(*)
dummy arguments. This makes the interfaces of send_data_2d
and send_data_2d_r8
indistinguishable, as I understand. Same with send_data_3d
and send_data_3d_r8
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@MinsukJi-NOAA Do you know why some CI test are cancelled? |
The CI with parallel works is waiting for some computing resources. I suppose those may run successfully on GFDL's repository. But NOAA-EMC does not have parallel works resources associated with it. We should disregard those tests, and only look at |
I see, thanks. |
Description
Mixed mode changes for files in the
diag_manager
directory.How Has This Been Tested?
CI unit tests all pass.
Checklist:
make distcheck
passes