2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
This commit is contained in:
Martin Thoma 2014-03-09 20:34:02 +01:00
parent 3cec128f33
commit b0bddad82f
8 changed files with 82 additions and 1 deletions

View file

@ -0,0 +1,10 @@
#include "mpi.h"
int myid;
int recvbuf[DATASIZE], sendbuf[DATA_SIZE];
...
/* Minimum bilden */
MPI_Reduce(sendbuf, recvbuf, DATA_SIZE, MPI_INT, MPI_MIN,
0, MPI_COMM_WORLD);
...