The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
mpi_dummy.h
Go to the documentation of this file.
1 /** \file mpi_dummy.h
2 
3 Declaration of fake MPI functions for sequential built.
4 There are used instead of the true MPI functions in the
5 case of a sequential built (see makefile).
6 
7 */
8 
9 
10 #define MPI_COMM_WORLD 0
11 #define MPI_DOUBLE 2
12 #define MPI_CHAR 1
13 #define MPI_LONG 3
14 #define MPI_INT 0
15 #define MPI_MIN 0
16 #define MPI_MAX 0
17 #define MPI_SUM 0
18 
19 typedef int MPI_Request;
20 typedef int MPI_Status;
21 
22 void MPI_Comm_rank ();
23 void MPI_Barrier ();
24 void MPI_Comm_size ();
25 void MPI_Init ();
26 void MPI_Finalize ();
27 void MPI_Bcast ();
28 void MPI_Isend ();
29 void MPI_Irecv ();
30 void MPI_Allreduce ();
31 void MPI_Send ();
32 void MPI_Recv ();
33 void MPI_Wait ();
34 
void MPI_Init()
void MPI_Bcast()
Definition: mpi_dummy.c:44
void MPI_Finalize()
Definition: mpi_dummy.c:40
void MPI_Barrier()
Definition: mpi_dummy.c:64
void MPI_Irecv()
Definition: mpi_dummy.c:52
void MPI_Allreduce()
void MPI_Recv()
Definition: mpi_dummy.c:60
void MPI_Send()
Definition: mpi_dummy.c:56
int MPI_Status
Definition: mpi_dummy.h:20
void MPI_Wait()
Definition: mpi_dummy.c:68
int MPI_Request
Definition: mpi_dummy.h:19
void MPI_Isend()
Definition: mpi_dummy.c:48
void MPI_Comm_rank()
void MPI_Comm_size()