- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
A project that I was previously able to debug and see local variables under PSXE, I can still run, debug and hit breakpoints, but local variables are not displayed In Locals or when added to Watch (identifier "something" is undefined). This is opeAPI HPC using ifort. I feel like I'm missing something simple, since others are clearly not experiencing this. I obviously verified I'm on Debug. Thoughts?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Likely false alarm. I'm able to see locals in a different part of the code. Just not the one file. Everything seems to work ok though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like my issue is the same outlined here:
Visual Studio debugger uses C, not Fortran, in locals window, with oneAPI - Intel Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it really? What do you see in the Type column - uppercase Fortran type names (INTEGER, REAL, etc.) or lowercase C names (long, float, etc.)?
Investigation by Intel has determined that, for some unfathomable reason, the Fortran debugging support is tucked under the GDB component in the oneAPI Base toolkit, which then requires installation of several other large components most Fortran users would not use. The Intel support folk are pushing back on that.
As I said in the other thread, a workaround is to install the last PSXE kit, which will add in the Fortran debug support. Or you can install the oneAPI Base toolkit, selecting the "Intel Distribution for GDB" component and the minimum other components it requires.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't be certain. I have since uninstalled oneAPI HPC and reverted back to PSXE (where everything is working as expected). After trying out a few things, I did not see the expected hover-over variable popup with derived data types. Also they were not listed in locals.
I appreciate the oneAPI Base + GDB guidance. I might go that direction before too long. Still finding my Fortran feet after not touching it for a decade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That sounds as if indeed you had the problem I wrote about in the other thread.
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page