Believe it or not, this is actually one of the areas of the OMPI code base that is fairly well documented (gasp!). :-)
Check out opal/mca/base/mca_var.h for MCA vars (i.e., MPI_T control variables), and mca_pvar.h for MPI_T performance variables.
On Feb 14, 2014, at 11:31 AM, Adrian Reber <adrian_at_[hidden]> wrote:
> I am trying to find out how to deal with string variables. Do I have to
> allocate the memory before calling mca_base_component_var_register() or
> not? It seems it does a strdup() meaning it has to be free()'d while
> closing the component. Looking at other occurrences of string variables
> I see different usages. Sometimes it set to NULL sometimes not. Before
> following a wrong example maybe someone can tell me what the correct
> usage is.
> devel mailing list
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/