Commit 828b0b4d authored by Pavan Balaji's avatar Pavan Balaji
Browse files

Correct bad parameter names.



We were using MPIR_PARAM_NEMESIS_ENABLE_CKPOINT in some cases and
MPIR_PARAM_ENABLE_CKPOINT in some cases.  This patch makes the names
consistent.
Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
parent 7d44307f
......@@ -310,7 +310,7 @@ int MPIDI_CH3I_Progress (MPID_Progress_state *progress_state, int is_blocking)
}
#ifdef ENABLE_CHECKPOINTING
if (MPIR_PARAM_ENABLE_CKPOINT) {
if (MPIR_PARAM_NEMESIS_ENABLE_CKPOINT) {
if (MPIDI_nem_ckpt_start_checkpoint) {
MPIDI_nem_ckpt_start_checkpoint = FALSE;
mpi_errno = MPIDI_nem_ckpt_start();
......
......@@ -146,7 +146,7 @@ int MPIDI_nem_ckpt_init(void)
MPIDI_FUNC_ENTER(MPID_STATE_MPIDI_NEM_CKPT_INIT);
if (!MPIR_PARAM_ENABLE_CKPOINT)
if (!MPIR_PARAM_NEMESIS_ENABLE_CKPOINT)
goto fn_exit;
client_id = cr_init();
......
......@@ -1742,7 +1742,7 @@ HYD_status HYD_uii_mpx_get_parameters(char **t_argv)
/* If the user set the checkpoint prefix, set env var to enable
* checkpointing on the processes */
if (HYD_server_info.user_global.ckpoint_prefix)
HYDU_append_env_to_list("MPIR_PARAM_ENABLE_CKPOINT", "1",
HYDU_append_env_to_list("MPIR_PARAM_NEMESIS_ENABLE_CKPOINT", "1",
&HYD_server_info.user_global.global_env.system);
/* Preset common environment options for disabling STDIO buffering
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment