Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix smpi_sleep to execute the sleep on the simulated host (ignoring running host...
authorAugustin Degomme <degomme@idpann.imag.fr>
Wed, 26 Jun 2013 11:58:41 +0000 (13:58 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Wed, 26 Jun 2013 11:58:41 +0000 (13:58 +0200)
src/smpi/smpi_bench.c
teshsuite/smpi/mpich-test/coll/runtests
teshsuite/smpi/mpich-test/env/runtests

index cdb3c5a..84a0bac 100644 (file)
@@ -164,7 +164,7 @@ void smpi_bench_end(void)
 unsigned int smpi_sleep(unsigned int secs)
 {
   smpi_bench_end();
-  smpi_execute((double) secs);
+  smpi_execute_flops((double) secs*simcall_host_get_speed(SIMIX_host_self()));
   smpi_bench_begin();
   return secs;
 }
index 1b56ab0..65bcdd7 100755 (executable)
@@ -153,7 +153,7 @@ rm -f longuser1
 #CleanExe allredmany
 
 RunTest grouptest 4
-#uses MPI_Dims_create, MPI_Cart_create ... removed
+
 RunTest allred 4 "*** Allred ***"
 
 RunTest allred2 4 "*** Allred2 ***"
@@ -162,7 +162,6 @@ RunTest allred2 4 "*** Allred2 ***"
 
 RunTest scattern 4 "*** Scattern ***"
 
-#fails, more debug needed to understand
 RunTest redscat 4 "*** Reduce_scatter ***"
 
 RunTest alltoallv_mpich 4 "*** Alltoallv ***"
index 75a58bf..e002051 100755 (executable)
@@ -80,7 +80,7 @@ fi
 testfiles=""
 if [ $runtests = 1 ] ; then
 
-#RunTest timers 1 "*** Timer tests ***"
+RunTest timers 1 "*** Timer tests ***"
 
 RunTest init 2 "*** MPI_Initialized tests ***"
 # uses MPI_Attr_get