vt::StartupConfig struct

StartupConfig for preconfiguring VT before starting up the runtime.

Public types

using ParseInputHolder = arguments::ParseInputHolder

Constructors, destructors, conversion operators

StartupConfig(std::unique_ptr<arguments::ArgConfig> in_arg_config, std::unique_ptr<ParseInputHolder> in_parse_input_holder)
~StartupConfig()

Friends

auto preconfigure(int& argc, char**& argv) -> std::unique_ptr<StartupConfig>
Preconfigure VT with argc/argv. This will remove all VT arguments and create a StartupConfig for VT that should be passed to initializePreconfigured. Optionally, one may specify an MPI communicator to use (otherwise, it defaults to MPI_COMM_WORLD).

Function documentation

vt::StartupConfig::StartupConfig(std::unique_ptr<arguments::ArgConfig> in_arg_config, std::unique_ptr<ParseInputHolder> in_parse_input_holder)

Construct a StartupConfig

std::unique_ptr<StartupConfig> preconfigure(int& argc, char**& argv)

Preconfigure VT with argc/argv. This will remove all VT arguments and create a StartupConfig for VT that should be passed to initializePreconfigured. Optionally, one may specify an MPI communicator to use (otherwise, it defaults to MPI_COMM_WORLD).

Parameters
argc in argc (modifies it to remove VT arguments)
argv in argv (modifies it to remove VT arguments)
Returns the StartupConfig to pass to VT