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.

Visual Fortran run-time error

Weilin_D_
Beginner
7,137 Views

I am in the process of running a exe file, and shortly after the start of the running the exe stops running and displays a WIndows box headed 'Visual Fortran run-time error' with the following message:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
roughcal.exe 00412E76 Unknown  Unknown  Unknown 

The message only appears when I try to run this exe file. Other .exe files are ok and run very well.

Anyone know how to deal with this problem?

0 Kudos
6 Replies
mecej4
Honored Contributor III
7,137 Views

Your program probably has a bug that leads to the access violation, whereas the other EXEs did not have or encounter that kind of bug.

Recompile with the /traceback option and locate the line(s) of your source code with the access violation. There are many other techniques that are available to help in finding the bug and fixing it, but there is no single and simple method for doing so

0 Kudos
Weilin_D_
Beginner
7,137 Views

Hi mecej4,

Thank you for your advice. But the program run well on others' computer. The problem only occurs on mine.

0 Kudos
andrew_4619
Honored Contributor III
7,137 Views

Weilin D. wrote:

Hi mecej4,

Thank you for your advice. But the program run well on others' computer. The problem only occurs on mine.

 

....for which there will be a reason, files existence or not read access etc etc. Using traceback is a simple first step in finding the cause. No-one will be able to guess the problem from the description, there are too may possible causes.

0 Kudos
Steven_L_Intel1
Employee
7,137 Views
0 Kudos
Weilin_D_
Beginner
7,137 Views

Steve Lionel (Intel) wrote:

This isn't file related. http://software.intel.com/en-us/forums/topic/275071#comment-1548436

Thanks Steve:)

So how to deal with this case? Have any suggestion? I do appreciate it.

0 Kudos
Steven_L_Intel1
Employee
7,137 Views

You have to debug it.There is no single solution to this error.
 

0 Kudos
Reply