Closed upperwal closed 6 years ago
Possible Solution: Sync comm_update
and MPI_*
Now synchronising comm on use
In MPI_*
functions:
https://github.com/upperwal/EntangledMPI/blob/db65b91021dac7c87d1252ad90d0d7d17eeb182f/src/mpi/init.c#L541
https://github.com/upperwal/EntangledMPI/blob/db65b91021dac7c87d1252ad90d0d7d17eeb182f/src/mpi/init.c#L590
In update_comm
https://github.com/upperwal/EntangledMPI/blob/db65b91021dac7c87d1252ad90d0d7d17eeb182f/src/mpi/comm.c#L143
https://github.com/upperwal/EntangledMPI/blob/db65b91021dac7c87d1252ad90d0d7d17eeb182f/src/mpi/comm.c#L180
comm_update
andMPI_*
is using the same comm at the same time.comm_update
are updating them butMPI_*
uses the corrupt comms. This results inseg fault