@@ -1 +1,3 @@
-MPI_Bcast(buffer, count, datatype, root, comm)
+int MPI_Bcast( void *buffer, int count,
+ MPI_Datatype datatype, int root,
+ MPI_Comm comm )
@@ -5,6 +5,6 @@ int recvbuf[DATASIZE], sendbuf[DATA_SIZE];
...
/* Minimum bilden */
-MPI_Reduce(sendbuf, recvbuf, DATA_SIZE, MPI_INT, MPI_MIN,
- 0, MPI_COMM_WORLD);
+MPI_Reduce(sendbuf, recvbuf, DATA_SIZE, MPI_INT,
+ MPI_MIN, 0, MPI_COMM_WORLD);
@@ -1,2 +1,5 @@
-MPI_Scatter(sendbuf, sendcount, sendtype, recvbuf,
- recvcount, recvtype, root, comm)
+int MPI_Scatter(const void *sendbuf, int sendcount,
+ MPI_Datatype sendtype,
+ void *recvbuf, int recvcount,
+ MPI_Datatype recvtype,
+ int root, MPI_Comm comm)