mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
MPI
This commit is contained in:
parent
9eb2958571
commit
0eaf43e026
4 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
#include "mpi.h"
|
||||
|
||||
int sendcount, recvcount;
|
||||
void *sendbuf, *recvbuf;
|
||||
MPI_Datatype sendtype, recvtype;
|
||||
MPI_Comm comm;
|
||||
...
|
||||
MPI_Alltoall(sendbuf, sendcount, sendtype,
|
||||
recvbuf, recvcount, recvtype, comm);
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue