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

IFX Annoyance

JohnNichols
Valued Contributor III
653 Views

If I use IFORT and I create an allocated array in the main program and then pass the array to a subroutine along with the size of the array say as n.

I can then look at the full array when the program is stopped in the subroutine 

Screenshot 2024-01-17 110853.png

R is 8192 long it is an FFT array. 

But in IFX I get 

Screenshot 2024-01-17 111003.png

How do I look at it and R(1) is zero so what is R(2) , I can do it in the watch window if I ask for R(2) etc, but please.  

 

This is VS 2022 Preview but it was the same on VS 2019.   Your people seem to have updated the ONEAPI to the latest preview essentially and this computer is going into the wilds of Iowa.  

0 Kudos
3 Replies
andrew_4619
Honored Contributor III
644 Views

well if graphnf is in a module so its interface is known to the caller you should have:

 

Real(DP) :: R(:), theta(:), limit

 

The array descriptor will be passed and the debugger will know its size.

But I will add there are some debugger issues with IFX I have reported that make it quite unusable (low productivity) at this time.

0 Kudos
JohnNichols
Valued Contributor III
580 Views

Yesterday,  the small NUC computer, now no longer Intel, crashed and so I had to reinstall everything.  I put on W11 the vanilla version from MS and VS 2019 and VS 2022 Preview.  

VS 2019 gave me the following error  with IFX.  It is the same a VS2022 P, but notice the multiple copies of XRAY. 

 

 

Screenshot 2024-01-18 111643.png

 

I also got this error repeatedly.  Log attached. 

Screenshot 2024-01-18 111434.png

IFX is not useful at this stage.  

 

 

 

0 Kudos
Barbara_P_Intel
Employee
509 Views

@JohnNichols, are you up and running?

 

0 Kudos
Reply