LLNL/Caliper

Need simpler API for Caliper config

mplegendre opened this issue · 1 comments

@daboehme as we discussed in person, I need a simpler API for Caliper configuration for application integration. The use case is that an application may get configured from the command line or input deck, ala:

./myapp --caliper=

An example of might be "spot,mpi,topdown"

I'd like to get the parsing and configuration settings based on inside Caliper, rather than have it in the application. That way we can expand Caliper capabilities without having to go back to the option parsing of each application that integrated Caliper.

We'll also need some of kind of error checking for , which is separate from the configuration. Many apps will want to check whether they were passed a valid string before they move on to initialize phase, and only Caliper will know whether the string is valid.

This was addressed with the ConfigManager API integrated in d5f056a and subsequent commits.