[mpich2-commits] r7815 - mpich2/trunk/src/mpi/errhan

buntinas at mcs.anl.gov buntinas at mcs.anl.gov
Mon Jan 24 12:37:43 CST 2011


Author: buntinas
Date: 2011-01-24 12:37:43 -0600 (Mon, 24 Jan 2011)
New Revision: 7815

Modified:
   mpich2/trunk/src/mpi/errhan/errutil.c
Log:
added dbg_msg to log errors

Modified: mpich2/trunk/src/mpi/errhan/errutil.c
===================================================================
--- mpich2/trunk/src/mpi/errhan/errutil.c	2011-01-24 18:36:08 UTC (rev 7814)
+++ mpich2/trunk/src/mpi/errhan/errutil.c	2011-01-24 18:37:43 UTC (rev 7815)
@@ -520,6 +520,8 @@
     int rc;
     va_list Argp;
     va_start(Argp, specific_msg);
+    MPIU_DBG_MSG_FMT(ERRHAND, TYPICAL, (MPIU_DBG_FDEST, "%sError created: %s(%d) %s", fatal ? "Fatal " : "",
+                                        fcname, line, generic_msg));
     rc = MPIR_Err_create_code_valist( lastcode, fatal, fcname, line,
 				      error_class, generic_msg, specific_msg,
 				      Argp );



More information about the mpich2-commits mailing list