Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132944 views
License: OTHER
1
#include "mpi.h"
2
3
int sendcount, recvcount;
4
void *sendbuf, *recvbuf;
5
MPI_Datatype sendtype, recvtype;
6
MPI_Comm comm;
7
8
...
9
MPI_Allgather(sendbuf, sendcount, sendtype,
10
recvbuf, recvcount, recvtype,
11
comm);
12
...
13