mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
added more examples for MPI and Scala
This commit is contained in:
parent
6987dc28ab
commit
2c4f3e97bf
6 changed files with 68 additions and 5 deletions
|
@ -0,0 +1,12 @@
|
|||
#include "mpi.h"
|
||||
|
||||
int sendcount, recvcount;
|
||||
void *sendbuf, *recvbuf;
|
||||
MPI_Datatype sendtype, recvtype;
|
||||
MPI_Comm comm;
|
||||
|
||||
...
|
||||
MPI_Allgather(sendbuf, sendcount, sendtype,
|
||||
recvbuf, recvcount, recvtype,
|
||||
comm);
|
||||
...
|
|
@ -0,0 +1,5 @@
|
|||
int MPI_Allgather(const void *sendbuf, int sendcount,
|
||||
MPI_Datatype sendtype,
|
||||
void *recvbuf, int recvcount,
|
||||
MPI_Datatype recvtype,
|
||||
MPI_Comm comm)
|
Loading…
Add table
Add a link
Reference in a new issue