MI - Fimex
mifi_mpi.h
Go to the documentation of this file.
1 /*
2  * Fimex, mifi_mpi.h
3  *
4  * (C) Copyright 2014, met.no
5  *
6  * Project Info: https://wiki.met.no/fimex/start
7  *
8  * This library is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21  * USA.
22  *
23  * Created on: Dec 22, 2014
24  * Author: heikok
25  */
26 
27 
28 #include "mpi.h"
29 
30 #ifndef MIFI_MPI_H_
31 #define MIFI_MPI_H_
32 
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 extern MPI_Comm mifi_mpi_comm;
39 extern MPI_Info mifi_mpi_info;
40 extern int mifi_mpi_size;
41 extern int mifi_mpi_rank;
42 
48 extern void mifi_initialize_mpi(MPI_Comm comm, MPI_Info info);
52 extern void mifi_free_mpi();
57 extern int mifi_mpi_initialized();
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* MIFI_MPI_H_ */
int mifi_mpi_size
void mifi_free_mpi()
MPI_Info mifi_mpi_info
void mifi_initialize_mpi(MPI_Comm comm, MPI_Info info)
int mifi_mpi_rank
int mifi_mpi_initialized()
MPI_Comm mifi_mpi_comm