A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed return type.
[simgrid.git]
/
include
/
smpi
/
smpi.h
diff --git
a/include/smpi/smpi.h
b/include/smpi/smpi.h
index
efdcace
..
a48f3db
100644
(file)
--- a/
include/smpi/smpi.h
+++ b/
include/smpi/smpi.h
@@
-1,3
+1,9
@@
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#ifndef SMPI_H
#define SMPI_H
#ifndef SMPI_H
#define SMPI_H
@@
-58,6
+64,7
@@
typedef struct {
int MPI_SOURCE;
int MPI_TAG;
int MPI_ERROR;
int MPI_SOURCE;
int MPI_TAG;
int MPI_ERROR;
+ int count;
} MPI_Status;
#define MPI_STATUS_IGNORE NULL
} MPI_Status;
#define MPI_STATUS_IGNORE NULL
@@
-153,7
+160,7
@@
XBT_PUBLIC(double) MPI_Wtime(void);
XBT_PUBLIC(int) MPI_Address(void *location, MPI_Aint *address);
XBT_PUBLIC(int) MPI_Type_free(MPI_Datatype* datatype);
XBT_PUBLIC(int) MPI_Address(void *location, MPI_Aint *address);
XBT_PUBLIC(int) MPI_Type_free(MPI_Datatype* datatype);
-XBT_PUBLIC(int) MPI_Type_size(MPI_Datatype datatype,
size_
t* size);
+XBT_PUBLIC(int) MPI_Type_size(MPI_Datatype datatype,
in
t* size);
XBT_PUBLIC(int) MPI_Type_get_extent(MPI_Datatype datatype, MPI_Aint* lb, MPI_Aint* extent);
XBT_PUBLIC(int) MPI_Type_extent(MPI_Datatype datatype, MPI_Aint* extent);
XBT_PUBLIC(int) MPI_Type_lb(MPI_Datatype datatype, MPI_Aint* disp);
XBT_PUBLIC(int) MPI_Type_get_extent(MPI_Datatype datatype, MPI_Aint* lb, MPI_Aint* extent);
XBT_PUBLIC(int) MPI_Type_extent(MPI_Datatype datatype, MPI_Aint* extent);
XBT_PUBLIC(int) MPI_Type_lb(MPI_Datatype datatype, MPI_Aint* disp);
@@
-178,6
+185,7
@@
XBT_PUBLIC(int) MPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MP
XBT_PUBLIC(int) MPI_Comm_rank(MPI_Comm comm, int* rank);
XBT_PUBLIC(int) MPI_Comm_size(MPI_Comm comm, int* size);
XBT_PUBLIC(int) MPI_Get_processor_name(char *name, int *resultlen);
XBT_PUBLIC(int) MPI_Comm_rank(MPI_Comm comm, int* rank);
XBT_PUBLIC(int) MPI_Comm_size(MPI_Comm comm, int* size);
XBT_PUBLIC(int) MPI_Get_processor_name(char *name, int *resultlen);
+XBT_PUBLIC(int) MPI_Get_count(MPI_Status* status, MPI_Datatype datatype, int* count);
XBT_PUBLIC(int) MPI_Comm_group(MPI_Comm comm, MPI_Group* group);
XBT_PUBLIC(int) MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int* result);
XBT_PUBLIC(int) MPI_Comm_group(MPI_Comm comm, MPI_Group* group);
XBT_PUBLIC(int) MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int* result);