[mpich2-commits] r7835 - mpich2/trunk/src/pm/hydra/ui/mpich
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Wed Jan 26 10:48:16 CST 2011
Author: balaji
Date: 2011-01-26 10:48:16 -0600 (Wed, 26 Jan 2011)
New Revision: 7835
Modified:
mpich2/trunk/src/pm/hydra/ui/mpich/utils.c
Log:
When the user asks for auto-cleanup to be disabled, pass appropriate
environment information to the MPICH2 library. This allows the
collectives to use the fault-tolerance enabled code which is not on by
default for now.
Reviewed by buntinas.
Modified: mpich2/trunk/src/pm/hydra/ui/mpich/utils.c
===================================================================
--- mpich2/trunk/src/pm/hydra/ui/mpich/utils.c 2011-01-26 05:45:06 UTC (rev 7834)
+++ mpich2/trunk/src/pm/hydra/ui/mpich/utils.c 2011-01-26 16:48:16 UTC (rev 7835)
@@ -1178,6 +1178,13 @@
HYDU_append_env_to_list("GFORTRAN_UNBUFFERED_PRECONNECTED", "y",
&HYD_server_info.user_global.global_env.system);
+ /* If auto-cleanup is disabled, ask MPICH2 to enabled
+ * FT-collective returns */
+ if (HYD_server_info.user_global.auto_cleanup == 0) {
+ HYDU_append_env_to_list("MPICH_ENABLE_COLL_FT_RET", "1",
+ &HYD_server_info.user_global.global_env.system);
+ }
+
fn_exit:
HYDU_FUNC_EXIT();
return status;
More information about the mpich2-commits
mailing list