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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.cpp
diff --git
a/src/smpi/smpi_pmpi.cpp
b/src/smpi/smpi_pmpi.cpp
index
e51c138
..
0cb559c
100644
(file)
--- a/
src/smpi/smpi_pmpi.cpp
+++ b/
src/smpi/smpi_pmpi.cpp
@@
-22,6
+22,7
@@
void TRACE_smpi_set_category(const char *category)
}
/* PMPI User level calls */
+extern "C" { // Obviously, the C MPI interface should use the C linkage
int PMPI_Init(int *argc, char ***argv)
{
@@
-3345,3
+3346,4
@@
int PMPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int* size)
return MPI_SUCCESS;
}
+} // extern "C"