locked
Does MSMPI support to call broadcast in multi-threads at the same time? RRS feed

  • Question

  • We have 2 communicators, we use two threads to call MPI_Bcast() in each communicator separately, it runs OK when the program starts running, but there will be a 0xc00000005 error after running for a while. Does MSMPI support to call broadcast in multi-threads at the same time?

    Thanks

    Monday, August 13, 2018 2:47 AM

All replies

  • Hello Freeny,

    MPI_Bcast collective is thread safe, and broadcasts on different communicators should not interfere. If you can provide us with a simple code that reproduces the error, that would be greatly appreciated.

    -thanks, Anna

    Wednesday, August 15, 2018 6:17 PM