MPI.NET icon indicating copy to clipboard operation
MPI.NET copied to clipboard

"Executing IntercommunicatorTest with 7 processes" hangs on windows

Open jmp75 opened this issue 6 years ago • 1 comments

May relate to #8.

jmp75 avatar Sep 30 '19 01:09 jmp75

Managed to attached VS to the rank 0 and if this does not modify the behavior, this appears to be stuck in an unsafe operation MPI_Alltoall.

 	MPI.dll!MPI.Intercommunicator.Alltoall<int>(int[] inValues, ref int[] outValues) Line 721	C#
 	MPI.dll!MPI.Intercommunicator.Alltoall<int>(int[] values) Line 633	C#
>	IntercommunicatorTest.exe!IntercommunicatorTest.IntercommunicatorTest.DoTest(string[] args) Line 403	C#
 	TestCommons.dll!MPI.TestCommons.MPIDebug.Execute(System.Action<string[]> doTest, string[] args) Line 83	C#
 	IntercommunicatorTest.exe!IntercommunicatorTest.IntercommunicatorTest.Main(string[] args) Line 24	C#
                unsafe
                {
                    errorCode = Unsafe.MPI_Alltoall(Marshal.UnsafeAddrOfPinnedArrayElement(inValues, 0), 1, datatype,
                                                    Marshal.UnsafeAddrOfPinnedArrayElement(outValues, 0), 1, datatype, comm);
                }

not sure where to go from this point.

I note that there may be a minor version of MSMPI up from the one (10.0) that I used to diagnose. Worth upgrading/testing?

jmp75 avatar Sep 30 '19 03:09 jmp75