[mpich2-commits] r4130 - in mpich2/trunk/src/pm/hydra: include utils/bind
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Thu Mar 19 01:34:27 CDT 2009
Author: balaji
Date: 2009-03-19 01:34:27 -0500 (Thu, 19 Mar 2009)
New Revision: 4130
Modified:
mpich2/trunk/src/pm/hydra/include/hydra_base.h
mpich2/trunk/src/pm/hydra/utils/bind/bind.c
Log:
Throw some warnings when binding fails.
Modified: mpich2/trunk/src/pm/hydra/include/hydra_base.h
===================================================================
--- mpich2/trunk/src/pm/hydra/include/hydra_base.h 2009-03-19 06:29:11 UTC (rev 4129)
+++ mpich2/trunk/src/pm/hydra/include/hydra_base.h 2009-03-19 06:34:27 UTC (rev 4130)
@@ -142,7 +142,7 @@
#if defined ENABLE_WARNINGS
#define HYDU_Warn_printf HYDU_Error_printf
#else
-#define HYDU_Warn_printf(...)
+#define HYDU_Warn_printf(...) {}
#endif /* ENABLE_WARNINGS */
#if !defined COMPILER_ACCEPTS_VA_ARGS
Modified: mpich2/trunk/src/pm/hydra/utils/bind/bind.c
===================================================================
--- mpich2/trunk/src/pm/hydra/utils/bind/bind.c 2009-03-19 06:29:11 UTC (rev 4129)
+++ mpich2/trunk/src/pm/hydra/utils/bind/bind.c 2009-03-19 06:34:27 UTC (rev 4130)
@@ -18,6 +18,7 @@
if (!((plpa_api_probe(&p) == 0) && (p == PLPA_PROBE_OK))) {
/* If this failed, we just return without binding */
+ HYDU_Warn_printf("plpa api probe failed; not binding\n");
goto fn_exit;
}
@@ -33,6 +34,7 @@
}
else {
/* If this failed, we just return without binding */
+ HYDU_Warn_printf("plpa unable to get topology information; not binding\n");
goto fn_exit;
}
More information about the mpich2-commits
mailing list