Silverfrost Forums

Welcome to our forums

Stack

10 Oct 2008 6:00 #3892

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

11 Oct 2008 7:38 #3894

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.

Please login to reply.