forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Run time error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
supramaniam



Joined: 30 Aug 2005
Posts: 11

PostPosted: Mon Sep 19, 2005 12:22 am    Post subject: Run time error Reply with quote

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

Runtime error from program:c:progra~1salfor~1ftn95dmilp7.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
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Mon Sep 19, 2005 12:38 am    Post subject: Run time error Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
supramaniam



Joined: 30 Aug 2005
Posts: 11

PostPosted: Mon Sep 19, 2005 6:42 pm    Post subject: Run time error Reply with quote


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

Please advise.


Supramaniam
Back to top
View user's profile Send private message
supramaniam



Joined: 30 Aug 2005
Posts: 11

PostPosted: Mon Sep 19, 2005 7:15 pm    Post subject: Run time error Reply with quote


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

and found that the equation cp6= cp1*cp2*cp3*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~1salfor~1ftn95dmilp7.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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group