Re: [OMPI users] Newbie needs help! MPI_Wait/MPI_Start/MPI_Issend

2009-02-01 Thread Jeff Squyres
On Jan 26, 2009, at 4:04 PM, Hartzman, Leslie D (MS) wrote: Process 'A' - Initialize requests to MPI_REQUEST_NULL for i=0; i < n; i++ { if (rank == 0) { initialize 'command' structure

Re: [OMPI users] Newbie needs help! MPI_Wait/MPI_Start/MPI_Issend

2009-01-26 Thread Hartzman, Leslie D (MS)
>> In the original process 'A' code, prior to sending out a command, >> 'A' will issue an MPI_Wait to make sure that the command request >> instance is free. >> > I'm not quite sure I understand that statement. Can't you just > compare the request to MPI_REQUEST_NULL? From your description, it

Re: [OMPI users] Newbie needs help! MPI_Wait/MPI_Start/MPI_Issend

2009-01-26 Thread Jeff Squyres
On Jan 23, 2009, at 2:36 PM, Hartzman, Leslie D (MS) wrote: I’m trying to modify some code that is involved in point-to-point communications. Process A has a one way mode of communication with Process B. ‘A’ checks to see if its rank is zero and if so will send a “command” to ‘B’ (MPI_Issen

[OMPI users] Newbie needs help! MPI_Wait/MPI_Start/MPI_Issend

2009-01-23 Thread Hartzman, Leslie D (MS)
I'm trying to modify some code that is involved in point-to-point communications. Process A has a one way mode of communication with Process B. 'A' checks to see if its rank is zero and if so will send a "command" to 'B' (MPI_Issend) about what kind of data is going to be coming next. After sending