From: Augustin Degomme Date: Tue, 21 Aug 2012 13:26:57 +0000 (+0200) Subject: add option to generate states for code outside smpi to allow computation timing ... X-Git-Tag: v3_9_rc1~86^2~237^2~17 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a0abb9d376adce051993b966c0acc6999cba129f?hp=c0e6229d1166c669111b8103d182d712f45ac085 add option to generate states for code outside smpi to allow computation timing (not completely accurate as some smpi calls are not traced yet) --- diff --git a/src/smpi/smpi_pmpi.c b/src/smpi/smpi_pmpi.c index 5d85a89813..abd6b90d14 100644 --- a/src/smpi/smpi_pmpi.c +++ b/src/smpi/smpi_pmpi.c @@ -1008,7 +1008,6 @@ int PMPI_Recv(void *buf, int count, MPI_Datatype datatype, int src, int tag, int retval; smpi_bench_end(); - if (comm == MPI_COMM_NULL) { retval = MPI_ERR_COMM; } else if (src == MPI_PROC_NULL) { @@ -1373,8 +1372,6 @@ int PMPI_Waitany(int count, MPI_Request requests[], int *index, MPI_Status * sta xbt_dynar_free(&recvs); } TRACE_smpi_computing_in(rank_traced); - - #endif smpi_bench_begin(); return retval;