Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
temporarly reduce the example size until it gets debugged in SG
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Nov 2010 09:37:17 +0000 (09:37 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Nov 2010 09:37:17 +0000 (09:37 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8663 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/pmm/pmm.c
examples/gras/pmm/pmm.xml

index 0ad4e98..624eb3b 100644 (file)
@@ -10,7 +10,7 @@
 #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)
 
@@ -415,6 +415,7 @@ int slave(int argc, char *argv[])
       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");
index 69e2ab2..687aa8e 100644 (file)
   <process host="Jean_Yves" function="slave"><argument value="Jacquelin:4242"/><argument value="1"/></process>
   <process host="TeX"       function="slave"><argument value="Jacquelin:4242"/><argument value="2"/></process>
   <process host="Geoff"     function="slave"><argument value="Jacquelin:4242"/><argument value="3"/></process>
-  <process host="Disney"    function="slave"><argument value="Jacquelin:4242"/><argument value="4"/></process>
+<!--  <process host="Disney"    function="slave"><argument value="Jacquelin:4242"/><argument value="4"/></process>
   <process host="iRMX"      function="slave"><argument value="Jacquelin:4242"/><argument value="5"/></process>
   <process host="McGee"     function="slave"><argument value="Jacquelin:4242"/><argument value="6"/></process>
   <process host="Gatien"    function="slave"><argument value="Jacquelin:4242"/><argument value="7"/></process>
   <process host="Laroche"   function="slave"><argument value="Jacquelin:4242"/><argument value="8"/></process>
+-->
 </platform>