X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7ab95b4f204adf85e9f24eafcc51ed1e6ba2b232..2d37e348a09783cda723c7019640ee69de168324:/src/smpi/bindings/smpi_mpi.cpp diff --git a/src/smpi/bindings/smpi_mpi.cpp b/src/smpi/bindings/smpi_mpi.cpp index e9700fbd81..ac866f1441 100644 --- a/src/smpi/bindings/smpi_mpi.cpp +++ b/src/smpi/bindings/smpi_mpi.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license ,(GNU LGPL) which comes with this package. */ @@ -32,10 +32,10 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi, "Logging specific to SMPI ,(mpi) XBT_VERB("SMPI - Entering %s", __func__); \ type ret = P##name args2; \ if(ret!=MPI_SUCCESS) { \ - char error_string[MPI_MAX_ERROR_STRING]; \ - int error_size; \ - PMPI_Error_string(ret, error_string, &error_size); \ - XBT_DEBUG("%s - returned %.*s instead of MPI_SUCCESS", __func__, error_size,error_string); \ + char error_string[MPI_MAX_ERROR_STRING]; \ + int error_size; \ + PMPI_Error_string(ret, error_string, &error_size); \ + XBT_WARN("%s - returned %.*s instead of MPI_SUCCESS", __func__, error_size,error_string); \ } \ XBT_VERB("SMPI - Leaving %s", __func__); \ return ret; \