Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hpx::init() should strip HPX-related flags from argv #1437

gentryx opened this issue Mar 31, 2015 · 0 comments


None yet
2 participants
Copy link

commented Mar 31, 2015

Right now the different variants of hpx::init differ in their behavior regarding whether they'll delete command line flags from the corresponding vectors. The behavior should be uniform. It might be beneficial to allow the user to configure this behavior. In any case the default should be that user code won't see HPX flags. Initial discussion is here.

Code example:

int my_hpx_main(int argc, char **argv)
  run_tests(argc, argv);
  return hpx::finalize();

int main(int argc, char **argv)
  return hpx::init(&my_hpx_main, \"libgeodecomp_tests\", argc, argv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.