Confusion about migrating to margo_init_ext()
We are currently using
margo_init_opt() which has become deprecated in the latest Margo master branch. I'm a bit confused about how to migrate our old configuration to
margo_init_ext(). At the moment, our config for the server looks something like this:
struct hg_init_info hg_options = HG_INIT_INFO_INITIALIZER; hg_options.auto_sm = HG_TRUE; hg_options.na_init_info.progress_mode = NA_NO_BLOCK; margo_init_opt("some_protocol", MARGO_SERVER_MODE, &hg_options, HG_TRUE, handler_xstreams);
- Is there a default JSON config with all default values that I can then modify or do I simply leave out fields I don't need to change from default?
- Where do I define
margo_init_ext()which were the previous function arguments in
margo_init_opt()? I can't find them in new interface or JSON.