瀏覽代碼

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

Philippe SWARTVAGHER 4 年之前
父節點
當前提交
62616aaf0c
共有 1 個文件被更改,包括 6 次插入0 次删除
  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)
 	{