Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #180 from jsquyres/pr/fix-btl-bw-latency-mca-params
Browse files Browse the repository at this point in the history
btl_base: restore latency and bandwidth MCA params
  • Loading branch information
rhc54 committed Feb 12, 2015
2 parents a95b9bb + 7fd2c8c commit b4185dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ompi/mca/btl/base/btl_base_mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,16 @@ int mca_btl_base_param_register(mca_base_component_t *version,
MCA_BASE_VAR_SCOPE_READONLY,
&module->btl_min_rdma_pipeline_size);

(void) mca_base_component_var_register(version, "bandwidth", "Approximate maximum bandwidth of interconnect (0 = auto-detect value at run-time [not supported in all BTL modules], >= 1 = bandwidth in Mbps)",
(void) mca_base_component_var_register(version, "latency", "Approximate latency of interconnect (0 = auto-detect value at run-time [not supported in all BTL modules], >= 1 = latency in microseconds)",
MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, 0, 0,
OPAL_INFO_LVL_5,
MCA_BASE_VAR_SCOPE_READONLY,
&module->btl_latency);
(void) mca_base_component_var_register(version, "bandwidth", "Approximate maximum bandwidth of interconnect (0 = auto-detect value at run-time [not supported in all BTL modules], >= 1 = bandwidth in Mbps)",
MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, 0, 0,
OPAL_INFO_LVL_5,
MCA_BASE_VAR_SCOPE_READONLY,
&module->btl_bandwidth);
}

return mca_btl_base_param_verify(module);
Expand Down

0 comments on commit b4185dd

Please sign in to comment.