AdjoinableMPI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
passThrough.c
Go to the documentation of this file.
1 /*
2 ##########################################################
3 # This file is part of the AdjoinableMPI library #
4 # released under the MIT License. #
5 # The full COPYRIGHT notice can be found in the top #
6 # level directory of the AdjoinableMPI distribution. #
7 ##########################################################
8 */
9 #include <mpi.h>
11 
12 int AMPI_Comm_size(MPI_Comm comm,
13  int *size) {
14  return MPI_Comm_size(comm,
15  size);
16 }
17 
18 int AMPI_Comm_rank(MPI_Comm comm,
19  int *rank) {
20  return MPI_Comm_rank(comm,
21  rank);
22 }
23 
24 int AMPI_Get_processor_name(char *name,
25  int *resultlen ) {
26  return MPI_Get_processor_name(name,
27  resultlen);
28 }
29 
30 int AMPI_Pack_size(int incount,
31  MPI_Datatype datatype,
32  MPI_Comm comm,
33  int *size) {
34  return MPI_Pack_size(incount,
35  datatype,
36  comm,
37  size);
38 }