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
temporarly reduce the example size until it gets debugged in SG
[simgrid.git]
/
examples
/
gras
/
pmm
/
pmm.c
diff --git
a/examples/gras/pmm/pmm.c
b/examples/gras/pmm/pmm.c
index
0ad4e98
..
624eb3b
100644
(file)
--- a/
examples/gras/pmm/pmm.c
+++ b/
examples/gras/pmm/pmm.c
@@
-10,7
+10,7
@@
#include "xbt/matrix.h"
#include "amok/peermanagement.h"
#include "xbt/matrix.h"
#include "amok/peermanagement.h"
-#define PROC_MATRIX_SIZE
3
+#define PROC_MATRIX_SIZE
2
#define NEIGHBOR_COUNT PROC_MATRIX_SIZE - 1
#define SLAVE_COUNT (PROC_MATRIX_SIZE*PROC_MATRIX_SIZE)
#define NEIGHBOR_COUNT PROC_MATRIX_SIZE - 1
#define SLAVE_COUNT (PROC_MATRIX_SIZE*PROC_MATRIX_SIZE)
@@
-415,6
+415,7
@@
int slave(int argc, char *argv[])
gras_os_sleep(0.5);
}
}
gras_os_sleep(0.5);
}
}
+ INFO2("Connected to master: %s:%d",gras_socket_peer_name(master),gras_socket_peer_port(master));
/* Join and run the group */
rank = amok_pm_group_join(master, "pmm");
/* Join and run the group */
rank = amok_pm_group_join(master, "pmm");