Procházet zdrojové kódy

Do not check values when running inside simgrid

Samuel Thibault před 9 roky
rodič
revize
f658fe0fbe

+ 5 - 1
mpi/examples/matrix_decomposition/mpi_cholesky.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2012  Université de Bordeaux
+ * Copyright (C) 2009-2012, 2015  Université de Bordeaux
  * Copyright (C) 2010  Mehdi Juhoor <mjuhoor@gmail.com>
  * Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
  *
@@ -48,15 +48,19 @@ int main(int argc, char **argv)
 
 	starpu_mpi_shutdown();
 
+#ifndef STARPU_SIMGRID
 	matrix_display(bmat, rank);
 
 	dw_cholesky_check_computation(bmat, rank, nodes, &correctness, &flops);
+#endif
 
 	matrix_free(&bmat, rank, nodes, 1);
 	starpu_cublas_shutdown();
 	starpu_shutdown();
 
+#ifndef STARPU_SIMGRID
 	assert(correctness);
+#endif
 
 	if (rank == 0)
 	{