From: mquinson Date: Thu, 30 Nov 2006 09:36:40 +0000 (+0000) Subject: increase matrix size a bit, and do not wait insane amount of time on simulator now... X-Git-Tag: v3.3~2412 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ef9f1f9d8218d82bb3c1d55ca3fd53df9a723edb?hp=0189615fd0542854c3395490e9c3b635b4b5bba2 increase matrix size a bit, and do not wait insane amount of time on simulator now that the platform file is sane git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2947 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/pmm/pmm.c b/examples/gras/pmm/pmm.c index 101ab30c06..7d20b7c8d2 100755 --- a/examples/gras/pmm/pmm.c +++ b/examples/gras/pmm/pmm.c @@ -16,7 +16,7 @@ #define NEIGHBOR_COUNT PROC_MATRIX_SIZE - 1 #define SLAVE_COUNT (PROC_MATRIX_SIZE*PROC_MATRIX_SIZE) -#define DATA_MATRIX_SIZE 9 +#define DATA_MATRIX_SIZE 18 const int submatrix_size = DATA_MATRIX_SIZE/PROC_MATRIX_SIZE; XBT_LOG_NEW_DEFAULT_CATEGORY(pmm,"Parallel Matrix Multiplication"); @@ -80,7 +80,6 @@ typedef struct { int master (int argc,char *argv[]) { int i; - double init_delay; xbt_matrix_t A,B,C; result_t result; @@ -107,13 +106,8 @@ int master (int argc,char *argv[]) { peers=amok_pm_group_new("pmm"); /* friends, we're ready. Come and play */ - if (gras_if_RL()) { - init_delay = 5; - } else { - init_delay = 15; /* no idea why I have to wait that long in simulation */ - } - INFO1("Wait for peers for %.0f sec",init_delay); - gras_msg_handleall(init_delay); + INFO0("Wait for peers for 5 sec"); + gras_msg_handleall(5); INFO1("Got %ld pals",xbt_dynar_length(peers)); for (i=0;