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

Program often freezes in release mode

mchoi
Novato
963 Visualizações

Hello, 

I have a question about the latest version of intel OneAPI toolkit.

I am using visual studio 2022 community, and the latest version of the oneAPI Base/HPC toolkit for the intel Fortran compiler and MKL. The problem is that, when I run my program in release mode, it often freezes at a certain point, which does not happen with the earlier version of intel fortran compiler and visual studio 2019. I am sorry that I cannot provide any concrete example code for this, since I could not regenerate the issue in a simpler program. I am just wondering if there are any other people who have the same issue with the latest version of visual studio and OneAPI toolkit. 

 

Thank you.

0 Kudos
1 Solução
bflynt1
Novato
852 Visualizações

I'm sure the problem is unique to your code.

 

You're going to need more information to diagnose your problem.  I'd suggest compiling with the release flags but add "-g -traceback" and re-run to see if it will report the line it fails at.  If that doesn't work, then I usually turn to adding print statements to narrow down the line it fails.  

 

This is pretty common when switching between compilers and versions. 

I have 4 developers supporting an application on multiple machines/compilers.  I'd estimate we spend 50% of our time chasing issues like this.

Ver solução na publicação original

2 Respostas
bflynt1
Novato
853 Visualizações

I'm sure the problem is unique to your code.

 

You're going to need more information to diagnose your problem.  I'd suggest compiling with the release flags but add "-g -traceback" and re-run to see if it will report the line it fails at.  If that doesn't work, then I usually turn to adding print statements to narrow down the line it fails.  

 

This is pretty common when switching between compilers and versions. 

I have 4 developers supporting an application on multiple machines/compilers.  I'd estimate we spend 50% of our time chasing issues like this.

mchoi
Novato
820 Visualizações
Responder