1

I use mpich with MPI_THREAD_MULTIPLE support. From boost documentation:
For variable-length data, e.g., serialized types and packed archives, two messages will be sent via MPI_Send: one containing the length of the data and the second containing the data itself

Is it safe to send serialized types with same tag, to same rank from different threads? Receive rank has only one thread for receiving messages

1 Answer 1

1

It seems it does not work. I must use unique tag for each thread.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.