소스 검색

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)
 	{