-
Notifications
You must be signed in to change notification settings - Fork 145
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
Feature request: Reduce memory usage for forward operators MPI window #718
Comments
this is an aside, but there are unused copies_in_window in CM1 model_mod & filter_mod (& filter_dopplerfold) Line 59 in 75cf8dc
pull these out. |
note this is why there is a copy:
|
hkershaw-brown
added a commit
that referenced
this issue
Sep 6, 2024
using external fortran-testanything model_mod.f90 is in the work directory. This is a lazy move to avoid fiddling with EXTRA in quickbuild.sh for issue #718
hkershaw-brown
added a commit
that referenced
this issue
Sep 6, 2024
fixes #718 Note I have only done mpi_utilities_mod and not f08 mpi utilites yet. The tests pass on gfortran, I have not tried intel yet because I do not want to be disappinted
hkershaw-brown
added a commit
that referenced
this issue
Sep 10, 2024
using external fortran-testanything model_mod.f90 is in the work directory. This is a lazy move to avoid fiddling with EXTRA in quickbuild.sh for issue #718
hkershaw-brown
added a commit
that referenced
this issue
Sep 10, 2024
fixes #718 Note I have only done mpi_utilities_mod and not f08 mpi utilites yet. The tests pass on gfortran, I have not tried intel yet because I do not want to be disappinted
hkershaw-brown
added a commit
that referenced
this issue
Sep 10, 2024
mpi version with all of %copies in the window mpif08 version with all of %copies in the window null_mpi_utilities_mod.f90 version with matchin arguments to the mpi version (does nothing) fixes #718
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case
Currently doing an copy of data from the ensemble handle to the window
Is your feature request related to a problem?
Not incorrect results, but using more memory per core than we need to.
Describe your preferred solution
Create the window with the whole state_ens_handle%copies array. 'simply contiguous' 1
get_state copies_in_window != copies you need to get so the window logic would need to be updated for the whole %copies array
https://www.mpi-forum.org/docs/mpi-3.1/mpi31-report.pdf
Spec
Describe any alternatives you have considered
None
The text was updated successfully, but these errors were encountered: