Go to the source code of this file.
|
| int | main (int argc, char const *argv[]) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char const * |
argv[] |
|
) |
| |
Definition at line 4 of file RHat_HighMem.cpp.
5 MACH3LOG_WARN(
"Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
6 MACH3LOG_WARN(
" : you can use 'mach3 rhat --high-mem' as a direct replacement instead.");
8 std::vector<const char*> new_argv;
9 new_argv.push_back(
"rhat");
10 new_argv.push_back(
"--high-mem");
11 for (
int i = 1; i < argc; ++i) {
12 new_argv.push_back(argv[i]);
14 argc =
static_cast<int>(new_argv.size());
15 argv = new_argv.data();
18 parser->parse_args(argc, argv);
20 MACH3LOG_WARN(
"Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
21 MACH3LOG_WARN(
" : you can use 'mach3 rhat --high-mem' as a direct replacement instead.");
Extended ArgumentParser with MaCh3-specific functionality.
Module for computing the R-hat diagnostic for MCMC chains.
int Run() override
Execute the MCMC diagnostics.
MaCh3ArgumentParser * get_parser() override
Get the argument parser for this module.