Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29418 Discussions

compatibility between VS and oneAPI

Zoran_A_
Novice
782 Views

Microsoft forces update of VS to 17.14 version. I tried to use it together with oneAPI 2025.2. But, there are a number of problems, both when compiling and later when using debugger. Which version of oneAPI to use to avoid these problems? Thank you!

3 Replies
andrew_4619
Honored Contributor III
758 Views

Well I use VS17.14.12 and have no big issues  2025.2.  What are your problems specifically?

0 Kudos
Nolan_H
Novice
734 Views

I was using using Visual Studio 2022 - 17.14.16 with Intel Fortran 2025.2.  I had optimizations disabled.  The compiler was having loads of problems to the point where I had to punt back to 2024.0 for IFORT.  We tried the tested 17.14.7, but no changes.

 

Problems I was having:

-Some arrays of structures referenced through the COMMON keyword would just not be available no matter what I did in both locals and the watch window.  The arrays that were unavailable would change based on the order of my INCLUDE references.  My guess is a memory issue on the debugger side.

-Debugger as you are stepping through a program bounces around randomly or just bugs out

    • Enters blocks of code that it shouldn’t, but does not execute (IF/ELSE)
    • Bounces back to the top of IF statements after entering IF/ELSE block
    • First step in a routine stops at FORMAT statements at the end of a given routine, which seems like invalid break points traditionally for IFORT

-IntelliSense/Autocomplete forces lower case capitalization for all keywords, etc. unless you turn off all IntelliSense and snippets in Fortran through

    • Tools -> Options -> Text Editor -> Fortran -> General -> Uncheck "Auto list members"
0 Kudos
Zoran_A_
Novice
517 Views

My problem is still not resolved! Main issues are:

1. I cannot see the value of the variable after putting cursor over it. The variable is declared in MODULE block. It seems it has something with the way how the variable is typed: capital or small letters?

2. The cursor jumps over some blocks, turn back for some lines, and then continues correctly

3. The BOOKMARK cannot be set!!

0 Kudos
Reply