Prechádzať zdrojové kódy

Tell how to compile StarPU to have a more precise MPI sendrecv benchmark

Philippe SWARTVAGHER 4 rokov pred
rodič
commit
62616aaf0c
1 zmenil súbory, kde vykonal 6 pridanie a 0 odobranie
  1. 6 0
      mpi/examples/benchs/sendrecv_bench.c

+ 6 - 0
mpi/examples/benchs/sendrecv_bench.c

@@ -83,6 +83,12 @@ int main(int argc, char **argv)
 		return STARPU_TEST_SKIPPED;
 	}
 
+#if !defined(STARPU_LONG_CHECK)
+	if (rank == 0)
+	{
+		printf("To have a more precise benchmark, configure StarPU with --enable-long-check\n");
+	}
+#endif
 
 	if (pause_workers)
 	{