diff --git a/orte/runtime/orte_globals.c b/orte/runtime/orte_globals.c index 031dc9d72c..0d647ffc8d 100644 --- a/orte/runtime/orte_globals.c +++ b/orte/runtime/orte_globals.c @@ -148,7 +148,9 @@ uint8_t orte_default_num_cores_per_socket; char *orte_default_cpu_set; char *orte_default_hostfile = NULL; char *orte_rankfile; +#ifdef __WINDOWS__ char *orte_ccp_headnode; +#endif /* default rank assigment and binding policy */ orte_mapping_policy_t orte_default_mapping_policy = 0; diff --git a/orte/runtime/orte_globals.h b/orte/runtime/orte_globals.h index 5f728d4f70..27f22c52a1 100644 --- a/orte/runtime/orte_globals.h +++ b/orte/runtime/orte_globals.h @@ -623,7 +623,9 @@ ORTE_DECLSPEC extern uint8_t orte_default_num_cores_per_socket; ORTE_DECLSPEC extern char *orte_default_cpu_set; ORTE_DECLSPEC extern char *orte_default_hostfile; ORTE_DECLSPEC extern char *orte_rankfile; +#ifdef __WINDOWS__ ORTE_DECLSPEC extern char *orte_ccp_headnode; +#endif /* default rank assigment and binding policy */ ORTE_DECLSPEC extern orte_mapping_policy_t orte_default_mapping_policy; diff --git a/orte/runtime/orte_mca_params.c b/orte/runtime/orte_mca_params.c index 3536dac6b9..526d02e8cd 100644 --- a/orte/runtime/orte_mca_params.c +++ b/orte/runtime/orte_mca_params.c @@ -224,10 +224,12 @@ int orte_register_params(void) mca_base_param_reg_syn_name(tmp, "rmaps", "rank_file_path", false); mca_base_param_lookup_string(tmp, &orte_rankfile); +#ifdef __WINDOWS__ mca_base_param_reg_string_name("orte", "ccp_headnode", "Name of the cluster head node. (For Windows CCP only.)", false, false, NULL, &orte_ccp_headnode); +#endif /* whether or not to keep FQDN hostnames */ mca_base_param_reg_int_name("orte", "keep_fqdn_hostnames",