Silverfrost Forums

Welcome to our forums

Run time error

18 Sep 2005 11:22 #349

After running an executable file , the following run time error was discovered:

  Runtime error from program:c:\progra~1\salfor~1\ftn95\dmilp7.exe

Unknown floating point exception b0a1 Floating point co-processor fault at address 0040e138

0040dfa0 SFREQ [+0198] 0040aae0 COS1 [+00ff] 0040b1e0 FIR1D [+0a62] 0040c6b0 FIR [+012b] 00401000 MAIN# [+0547] eax=00000000 ebx=03dbfa94 ecx=03dbf9b4 edx=03dbf938 esi=03dbf9b4 edi=03dbf9b4 ebp=03dbf960 esp=03dbf910 IOPL=0 ds=0187 es=0187 fs=0d2f gs=0000 cs=017f ss=0187 flgs=00010247 [CA EP ZR SN DN NV]

0040e138 fdiv [ebp-0x14] 0040e13b fstp [ebp-0x10] 0040e13e wait

Please clarify what does the message means and how to go about it resolving it.

Thanks

Supramaniam

18 Sep 2005 11:38 #351

Run the program using the debugger to find the line at which the program fails then modify the Fortran code until the problem is resolved.

19 Sep 2005 5:42 #353

I have noted your comment. Question is how do I go about running it with the debugger and the procedures.

Please advise.

Supramaniam

19 Sep 2005 6:15 #354

I have used the following command dreal, checkmate, debug, undef to recompile the dmilp7.f file

and found that the equation cp6= cp1cp2cp3*cp4)/cp5 (under the subroutine SFREQ) has resulted in a floating point co-processor fault.

To elaborate the following is the error messages:

Runtime error from program:c:\progra~1\salfor~1\ftn95\dmilp7.exe

Unknown floating point exception a8a1 Floating point co-processor fault at address 00420e2e in file dmilp7.f at line 4841

SFREQ - in file dmilp7.f at line 4841 [+037e] COS1 - in file dmilp7.f at line 3980 [+03d9] FIR1D - in file dmilp7.f at line 4247 [+11d2] FIR - in file dmilp7.f at line 4428 [+01cc] main - in file dmilp7.f at line 54 [+07e7] eax=041ff6a8 ebx=041ff760 ecx=041ff760 edx=00000004 esi=041ff6e8 edi=041ff760 ebp=041ff6d0 esp=041ff640 IOPL=0 ds=0187 es=0187 fs=575f gs=0000 cs=017f ss=0187 flgs=00010203 [CA OP NZ SN DN NV]

00420e2e fdivrp st(1),st(0) 00420e30 dfstp [ebp-0x38] 00420e33 wait

Question is how I do I correct the error. Is this the way to do debugging!

Please advise.

Supramaniam

Please login to reply.