-
Notifications
You must be signed in to change notification settings - Fork 142
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
MPP Update #1655
base: main
Are you sure you want to change the base?
MPP Update #1655
Conversation
… and Reinitialization of segment data on root pe is no longer needed
! need this check in case MPI-rank 0 is a member of the pelist | ||
call mpp_max(root_pe_test, pelist) | ||
if (root_pe_test.lt.0) call mpp_error(FATAL, & | ||
if ( ANY(pelist(:).eq.mpp_pe()) ) then |
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.
why is this if-check needed here. We should've kicked out any pe's not in the pelist with the check at line 67.
mpp/include/mpp_util.inc
Outdated
@@ -870,7 +879,7 @@ end function rarray_to_char | |||
integer :: SD_UNIT, total_calls | |||
integer :: j,k,ct, msg_cnt | |||
character(len=2) :: u | |||
character(len=FMS_FILE_LEN) :: filename | |||
character(len=20) :: filename |
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.
Don't we want to continue using FMS_FILE_LEN here?
mpp/include/mpp_util.inc
Outdated
@@ -1228,7 +1237,7 @@ end function rarray_to_char | |||
integer, dimension(2) :: lines_and_length | |||
logical :: file_exist | |||
character(len=len(peset(current_peset_num)%name)) :: pelist_name | |||
character(len=FMS_PATH_LEN) :: filename | |||
character(len=128) :: filename |
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.
Don't we want to continue using FMS_FILE_LEN here?
mpp/include/mpp_util.inc
Outdated
if ( len_trim(str_tmp) == LENGTH) then | ||
write(UNIT=text, FMT='(I5)') LENGTH | ||
if ( len_trim(str_tmp) == LENGTH ) then | ||
write(UNIT=text, FMT='(I5)') length |
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 know that Fortran does not enforce alphanumeric case, but we should leave this as LENGTH
Description
Updates mpp_gather and mpp_scatter routines to use the native collective modes MPI_SCATTER and MPI_GATHER
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note
any relevant details for your test configuration (e.g. compiler, OS). Include
enough information so someone can reproduce your tests.
Checklist:
make distcheck
passes