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.
I guess we need to implement like this if we have data array passed in with dimension.
There was a problem hiding this comment.
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.
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.
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.
|
@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_managerdirectory.How Has This Been Tested?
CI unit tests all pass.
Checklist:
make distcheckpasses