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

QPSMPGP has too verbose output #36

Closed
haplav opened this issue May 14, 2020 · 5 comments
Closed

QPSMPGP has too verbose output #36

haplav opened this issue May 14, 2020 · 5 comments
Labels

Comments

@haplav
Copy link
Collaborator

haplav commented May 14, 2020

It monitors convergence although it's not asked to do so - prints lines like

180 MPGP [c] ||gp||=9.9891341100e-09,	||phi||=9.9891341100e-09,	||beta||=0.0000000000e+00,	alpha=1.2017124429e-01
@jkruzik
Copy link
Member

jkruzik commented May 14, 2020

What code is that in and what is the output with -options_view?
This should be printed only when you pass -qps_monitor true or set the default monitor by QPSMonitorSet(qps,QPSMonitorDefault,NULL,0)

@haplav
Copy link
Collaborator Author

haplav commented May 15, 2020

@jkruzik
Copy link
Member

jkruzik commented May 15, 2020

That is due to an explicit QPSMonitorSet in

ierr = QPSMonitorSet(qps,QPSMonitorDefault,NULL,0);CHKERRQ(ierr);

You should be able to cancel it with -qps_monitor_cancel but even though it is in the docs, it is missing in QPSSetFromOptions().

I would keep it the jbearing2 tutorial (it is an example how to use QPSMonitorSet, and provides us with a warning if MPRGP takes a different step).

@haplav
Copy link
Collaborator Author

haplav commented May 15, 2020

OK, I haven't anticipated nor noticed there's implicit QPSMonitorSet(). Fair enough.

You should be able to cancel it with -qps_monitor_cancel but even though it is in the docs, it is missing in QPSSetFromOptions().

OK, this is an issue but separate from this one.

@haplav
Copy link
Collaborator Author

haplav commented May 15, 2020

So this is not relevant, closing.

@haplav haplav closed this as completed May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants