Victor, just use a debugger (gdb, lldb, gdb-oneapi) like you would for
every other code as well.

Best,
Daniel

On Wed, Jul 1, 2026 at 7:45 PM Victor Eijkhout <[email protected]> wrote:
>
> My code was definitely compiled with "-g" but:
>
> An error occurred in line <509> of file 
> </scratch/00434/eijkhout/htmri25/Sources/dealii/dealii-9.7.1/source/lac/trilinos_solver.cc>
>  in function
>     void dealii::TrilinosWrappers::SolverBase::do_solve(const Preconditioner 
> &) [Preconditioner = dealii::TrilinosWrappers::PreconditionBase]
> Additional information:
>     AztecOO::Iterate error code -3: loss of precision
>
> Stacktrace:
> -----------
> #0  
> /scratch/00434/eijkhout/htmri25/Binaries/dealii-9.7.1/lib/libdeal_II.so.9.7.1:
>  void 
> dealii::TrilinosWrappers::SolverBase::do_solve<dealii::TrilinosWrappers::PreconditionBase>(dealii::TrilinosWrappers::PreconditionBase
>  const&)
> #1  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x4d247d]
> #2  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x4cfe36]
> #3  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x4cc3bb]
> #4  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x4b64bd]
> #5  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x475950]
> #6  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x471f50]
> #7  /usr/lib64/libc.so.6:
> #8  /usr/lib64/libc.so.6: __libc_start_main
> #9  
> /work2/00434/eijkhout/htmr_sandbox/installation-step32v2-intel25.3/step32v2: 
> ) [0x470745]
> --------------------------------------------------------
>
>
> How do I get a stacktrace of the D2 calls?
>
> Victor.
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/d/msgid/dealii/6e2bdc32-3d7e-450a-b477-48bc70c7e428n%40googlegroups.com.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/CAOYDWb%2B%3Dp9cTU6Su%2B82MekEMpzF9UcyaDRKQ0_WKNALEj2fk_w%40mail.gmail.com.

Reply via email to