Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
oops
authorAugustin Degomme <adegomme@users.noreply.github.com>
Tue, 6 Apr 2021 15:22:36 +0000 (17:22 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Tue, 6 Apr 2021 18:07:16 +0000 (20:07 +0200)
src/smpi/bindings/smpi_mpi.cpp

index 3fa9e64..012c7d1 100644 (file)
@@ -51,9 +51,10 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi, "Logging specific to SMPI ,(mpi)
       else if (err == MPI_ERRORS_ARE_FATAL){                                                                           \
         if (xbt_log_no_loc)                                                                                            \
           XBT_INFO("The backtrace would be displayed here if --log=no_loc would not have been passed");                \
-        else                                                                                                           \
+        else{                                                                                                          \
           XBT_INFO("Backtrace of the run : if incomplete, run smpirun with -keep-temps. To hide, use --log=no_loc");   \
           xbt_backtrace_display_current();                                                                             \
+        }                                                                                                              \
         xbt_die("%s - returned %.*s instead of MPI_SUCCESS", __func__, error_size, error_string);                      \
       } else                                                                                                           \
         err->call((errhan), ret);                                                                                      \