Re: [Mpi-forum] Persistent Readysend Semantics Question

2018-11-07 Thread Smith, Brian E. via mpi-forum
platforms (or unlucky on Titan) Thanks! From: mpi-forum on behalf of William Gropp via mpi-forum Sent: Wednesday, November 07, 2018 8:06 PM To: Main MPI Forum mailing list Cc: William Gropp Subject: Re: [Mpi-forum] Persistent Readysend Semantics Question Pavan

Re: [Mpi-forum] Persistent Readysend Semantics Question

2018-11-07 Thread William Gropp via mpi-forum
Pavan is correct; the program is buggy. Here’s an example process 1 process 2 start(recv) /* something causes a delay at process 2 */ start(rsend) wait(all) start(recv) …. In this case, the rsend on process 1 occurs before the recv is

Re: [Mpi-forum] Persistent Readysend Semantics Question

2018-11-07 Thread Balaji, Pavan via mpi-forum
Brian, Assuming all processes are doing the same code as below, I think the user program is incorrect and you were just getting lucky with the other implementations. Specifically, there’s nothing stopping the rsend from a process to reach the other process before it posted the corresponding

[Mpi-forum] Persistent Readysend Semantics Question

2018-11-07 Thread Smith, Brian E. via mpi-forum
Hi all, (trying again; I thought this address was subscribed to the list but maybe not. Sorry if this is a duplicate) I have a user-provided code that uses persistent ready sends. (Don’t ask. I don’t have an answer to “why?”. Maybe it actually helped on some machine sometime in the past?)