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

forrtl: severe (168) Program Exception - Illegal instructiom

bgmchenry
Beginner
2,287 Views
I use 6.6A of Compaq/Intel Visual Fortran
I distribute programs written in VF
The program work fine on most machines
One some Win98 systems, I get Error 168
Error 168 in help file says Illegal Instruction
Operating system error
How do I trace what commands or area of the program is causing this problem
I can not distribute a Debug version with traceback as taht would be a security breach
I do not have a computer which causes the problem

Thank you for your assistance
0 Kudos
2 Replies
Steven_L_Intel1
Employee
2,287 Views
My guess is that the systems with this problem have a bad device driver (often a video driver) or a problem with system memory or a disk. There is no ready way for you to trace this yourself, unfortunately.

Steve
0 Kudos
Steven_L_Intel1
Employee
2,287 Views
Turns out that the problem was caused by an older-generation processor not understanding newer instructions. The application had been compiled with the "Generate most optimized code" (/fast) setting, which implies /arch:host. Unfortunately, the project settings box display doesn't reveal the implied switches, leading to this sort of problem.

Steve
0 Kudos
Reply