Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Different between 11.0 and 12.1

GHui
초보자
937 조회수
I have a project compiled with ifort-11.0. These days I have transplant it to ifort-12.1. But when I run it, it went wrong. And show "forrtl: severe (173) ...". How can I understand this? And when I debug it with gdb. Gdb exit.
0 포인트
6 응답
Steven_L_Intel1
937 조회수
Error 173 is "A pointer passed to DEALLOCATE points to an array that cannot be deallocated". You can debug using idb and add -traceback to the compile to get source and line information that may help you find the error.
0 포인트
GHui
초보자
937 조회수
Why 11.0 can do, but 12.1 cann't?
0 포인트
GHui
초보자
937 조회수
Is there any way to ignorethis different?
0 포인트
Steven_L_Intel1
937 조회수
No - you have a bug in your program that needs to be fixed.
0 포인트
GHui
초보자
937 조회수
I used idb to debug my program. The idb output box show "Cannot run thread, error #COULDNT_READ_REGISTER_VALUE". And I reboot system, and then it worked ok. If don't reboot system, how to fix this problem?
0 포인트
Steven_L_Intel1
937 조회수
My guess is that you have some part of the program writing memory where it shouldn't, or an uninitilized variable is being used. The first thing I would suggest is to rebuild the program with "-warn interface -C" and see if any errors are reported.

My guess is that a debug version won't show the problem, but at least try building with -traceback to see if you can identify where in the code it is failing. Analysis using the Static Analysis feature of Intel Fortran Studio or Intel Parallel Studio XE could also be helpful.
0 포인트
응답