ESyS-Particle  2.3.4
MpiWrap.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
10 // //
12 
13 
14 #ifndef MPIWRAP_H
15 
16 #include <mpi.h>
17 
18 #if HAVE_CONFIG_H
19 #include "config.h"
20 #endif
21 
22 #if HAVE_MPI_COMM_DISCONNECT
23 #else
24 inline int MPI_Comm_disconnect(MPI_Comm *comm)
25 {
26  return MPI_Comm_free(comm);
27 }
28 #endif
29 
30 #endif
MPI_Comm_disconnect
int MPI_Comm_disconnect(MPI_Comm *comm)
Definition: MpiWrap.h:24