Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the protocol of pm_join: cannot force the rank anymore, the master gives one...
[simgrid.git] / examples / amok / saturate / saturate.c
index 70d6cad4ba5541d4c563c5170b1a796cb8467b29..7fdbec3efd538e148e33de2dc5c51383cf128c71 100644 (file)
@@ -40,7 +40,7 @@ int sensor(int argc, char *argv[])
   gras_os_sleep(2);             /* let the master get ready */
   master = gras_socket_client_from_string(argv[1]);
 
-  amok_pm_group_join(master, "saturate", -1);
+  amok_pm_group_join(master, "saturate");
   amok_pm_mainloop(600);
 
   gras_socket_close(mysock);