-
Notifications
You must be signed in to change notification settings - Fork 136
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
mixed precision Update mixedmode_base #1342
mixed precision Update mixedmode_base #1342
Conversation
@@ -419,6 +419,13 @@ end subroutine init_nonblock_type | |||
field2(isd:ied, jsd:jed) = field_in(:,:) | |||
endif | |||
|
|||
! allocate field1 on pelist1 |
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.
@laurenchilutti, I just wanted to make sure that the changes in mpp are correct here.
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.
Yep, this looks correct.
@@ -144,22 +144,22 @@ subroutine compressed_write_1d(fileobj, variable_name, cdata, unlim_dim_level, & | |||
type is (integer(kind=i4_kind)) | |||
call mpp_gather(cdata, size(cdata), buf_i4_kind, fileobj%compressed_dims(compressed_dim_index(2))%npes_nelems, & | |||
fileobj%pelist) | |||
call netcdf_write_data(fileobj, variable_name, buf_i4_kind, & | |||
if (fileobj%is_root) call netcdf_write_data(fileobj, variable_name, buf_i4_kind, & |
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.
@uramirez, do these changes look correct? (and also for the ones in test_fms)
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 think this is @laurenchilutti's update actually, it looks right to me.
@@ -144,22 +144,22 @@ subroutine compressed_write_1d(fileobj, variable_name, cdata, unlim_dim_level, & | |||
type is (integer(kind=i4_kind)) | |||
call mpp_gather(cdata, size(cdata), buf_i4_kind, fileobj%compressed_dims(compressed_dim_index(2))%npes_nelems, & | |||
fileobj%pelist) | |||
call netcdf_write_data(fileobj, variable_name, buf_i4_kind, & | |||
if (fileobj%is_root) call netcdf_write_data(fileobj, variable_name, buf_i4_kind, & |
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 think this is @laurenchilutti's update actually, it looks right to me.
This PR brings in changes from main to mixedmode_base