public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* Code stack trace when a kernel fails
@ 2024-01-15 15:06 Patrick Begou
  0 siblings, 0 replies; only message in thread
From: Patrick Begou @ 2024-01-15 15:06 UTC (permalink / raw)
  To: fortran

Hi Fortran users,

working on a large Fortran code with gcc13 and OpenACC offloading I 
would like to have a stack trace when a kernel fails with an error in 
libgomp.

Just to locate where this kernel was launched in the code. When the code 
crash, gdb always returns " No stack." and debugging is quite difficult.

If GNU provides a magic option I've missed...

NB: my kernels are all synchronous at this time.

Thanks

Patrick


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-15 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 15:06 Code stack trace when a kernel fails Patrick Begou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).