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

mixed precision Update mixedmode_base #1342

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

mlee03
Copy link
Contributor

@mlee03 mlee03 commented Aug 18, 2023

This PR brings in changes from main to mixedmode_base

@@ -419,6 +419,13 @@ end subroutine init_nonblock_type
field2(isd:ied, jsd:jed) = field_in(:,:)
endif

! allocate field1 on pelist1
Copy link
Contributor Author

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.

Copy link
Contributor

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, &
Copy link
Contributor Author

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)

Copy link
Contributor

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.

@mlee03 mlee03 changed the title Update mixedmode_base mixed precision Update mixedmode_base Aug 18, 2023
@@ -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, &
Copy link
Contributor

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.

@rem1776 rem1776 merged commit 9517433 into NOAA-GFDL:mixedmode_base Aug 23, 2023
34 of 35 checks passed
@mlee03 mlee03 deleted the update_mixedmodebase branch August 31, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants