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
MPI_Alltoall(sendbuf, sendcount, sendtype,
9
recvbuf, recvcount, recvtype, comm);
10
...
11