Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
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
Novice
918 Views
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 Kudos
6 Replies
Steven_L_Intel1
Employee
918 Views
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 Kudos
GHui
Novice
918 Views
Why 11.0 can do, but 12.1 cann't?
0 Kudos
GHui
Novice
918 Views
Is there any way to ignorethis different?
0 Kudos
Steven_L_Intel1
Employee
918 Views
No - you have a bug in your program that needs to be fixed.
0 Kudos
GHui
Novice
918 Views
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 Kudos
Steven_L_Intel1
Employee
918 Views
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 Kudos
Reply