View previous topic :: View next topic |
Author |
Message |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Fri Oct 10, 2008 7:00 pm Post subject: Stack |
|
|
I am running a large Fortran Program and get and error "Floating Point Stak Fault" not sure what this means. Sometimes one of the variables is zero and I do have a divide by zero fault. Is it possible that this would corrupt memory and cause the Floating Point Stack Fault?
Also, is ther a wayt to "trap" a variable at a certain point in a program to cause a "stop" or "pause" if it contains a certain value?
Input will be appreciated. Sid Kraft |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Oct 11, 2008 8:38 am Post subject: |
|
|
Usually this means that you are calling an external function and the type of the returned value is incorrect. The compiler needs to know the correct type of the value returned by an external function.
For example, the function winio@ returns an integer so we include the declaration....
INTEGER winio@
before calling the function.
If this does not solve the problem, post some code so that we can investigate. |
|
Back to top |
|
|
|