[mpich-discuss] MPI_Win RMA with threads
zhouh at anl.gov
Thu Mar 12 10:50:22 CDT 2020
Hi Mark Davis,
Sorry for the late response. I tried your program and it seems works fine -- prints out messages and have `--- SUCCESS ---` in the end. I was testing with MPICH version 3.3.1. Which version were you using?
On 2/27/20, 2:33 PM, "Mark Davis via discuss" <discuss at mpich.org> wrote:
Please see the attached. You can run with something like
mpic++ -std=c++17 -g -ggdb -fno-omit-frame-pointer -lpthread -O0
thread_test_2.cpp -o thread_test_2 && mpirun -n 2 thread_test_2 1 5 8
A follow-up question: it seems that MPICH creates a duplicate MPI_Comm
for each window, as I mentioned above. Is that something that's
enforced by the standard or just an MPICH implementation detail?
More information about the discuss