next up previous
Next: Miscellanea Up: Communication Functions Previous: LIP_GATHER

LIP_SCATTER

LIP_SCATTER(sendbuf, recvbuf, datatype, schedule, op)

IN sendbuf send buffer (choice)
OUT recvbuf receive buffer (choice)
IN datatype MPI data type of the buffer elements (handle)
IN schedule communication schedule (handle)
IN op irregular operation to perform on communicated data (handle)


C syntax:

int LIP_Scatter(void *sendbuf, void *recvbuf, MPI_Datatype datatype, LIP_Schedule schedule, LIP_Op op)


Java syntax:
Class LIP:
public static void Scatter(VDouble sendbuf, VDouble recvbuf, Data type datatype, Schedule schedule, int op)


LIP_SCATTER is a collective function which scatters to other nodes the data that was computed locally. The data is taken from sendbuf (which is usually the ghost area) and is received in recvbuf. Each buffer element has the type datatype. The communication pattern is described by schedule.