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
Update URLs (FG #1).
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_f77.cpp
diff --git
a/src/smpi/bindings/smpi_f77.cpp
b/src/smpi/bindings/smpi_f77.cpp
index
0c25e44
..
71d2988
100644
(file)
--- a/
src/smpi/bindings/smpi_f77.cpp
+++ b/
src/smpi/bindings/smpi_f77.cpp
@@
-107,6
+107,8
@@
void mpi_initialized_(int* flag, int* ierr){
}
void mpi_get_processor_name_(char *name, int *resultlen, int* ierr){
+ //fortran does not handle string endings cleanly, so initialize everything before
+ memset(name, 0, MPI_MAX_PROCESSOR_NAME);
*ierr = MPI_Get_processor_name(name, resultlen);
}