-
Notifications
You must be signed in to change notification settings - Fork 576
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
Belos: Belos_Tpetra_Timers broken #13801
Comments
The option syntax looks correct. |
@jennloe Can you add |
@hkthorn I'll try that now. |
That didn't do it @hkthorn. I'll look again in the morning. |
@jennloe Two things you might want to check. Either the code doesn't get compiled or it doesn't get executed. I'd test the first by putting some random garbage in there to check that things between the pragmas is included. And if that's the case, add a print statement or fire up the debugger. Is it possible that your are using Tpetra via the Thyra layer? |
In addition to what @cgcgcg suggested, you could also put a print in CMakeLists.txt to check how the option is being processed. Something like
|
@jennloe Which solver are you looking at? These timers are only for
However, the CG-based solvers do not use MvTransMv unless the option for "Fold Convergence Detection Into Allreduce" is true or the block size is greater than 1. |
@jennloe If the CG solver is what you are looking at, additional timers can be added for
|
Bug Report
@trilinos/belos I recently tried the CMake option
Belos_Tpetra_Timers=ON
in attempt to get more detailed timings. The option did nothing, even though it is used here in lines 444 and 502:Trilinos/packages/belos/tpetra/src/BelosMultiVecTraits_Tpetra.hpp
Line 444 in 62ff542
I believe the Belos CMakeLists.txt has defined the option incorrectly??
Trilinos/packages/belos/CMakeLists.txt
Lines 52 to 55 in 62ff542
The text was updated successfully, but these errors were encountered: