fix overlapping send and recv buffers #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #18 overlapping send and recv buffers. Now different buffers for MPI send and Irecv are used that happen at the same time.
I compiled and tested only a limited subset of the compilation targets. The ones I tested look good so far:
ref/src
gcc 11.2.0
Intel(R) MPI Library for Linux* OS, Version 2021.7
ITAC 2021.6.0
command:
make clean && make -j && mpiexec -n 72 -check-mpi ./miniFE.x verify_solution=1 nx=10
result:
openmp/src
gcc 11.2.0
Intel(R) MPI Library for Linux* OS, Version 2021.7
ITAC 2021.6.0
command:
make clean && make -j && OMP_NUM_THREADS=10 mpiexec -n 2 -check-mpi ./miniFE.x verify_solution=1 nx=10
result:
mkl/src
icpc (ICC) 2021.6.0 20220226
Intel(R) MPI Library for Linux* OS, Version 2021.7
ITAC 2021.6.0
MKL 2022.1.0
command:
make clean && make -j && mpiexec -n 72 -check-mpi ./miniFE.x verify_solution=1 nx=10
result:
Let me know if you need more testing or don't see the changes fit.