CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Debug and Release version

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2005, 21:41
Default Debug and Release version
  #1
LiQiang
Guest
 
Posts: n/a
I compiled my program using Compaq Visiual Fortran 6.5, the Debug version can run normally but the Release version do not run, I know perhaps there is some bugs in my code , but how can I find it, Why Release version do not run???
  Reply With Quote

Old   March 30, 2005, 15:55
Default Re: Debug and Release version
  #2
steve
Guest
 
Posts: n/a
The odds are that it is one of 2 problems:

1)The compiler optimization is messing up your code - try lower levels of optimization.

2)You have a memory problem - perhaps an array that is not big enough. When you go past the end it corrupts something. Because the optimized code is arranged differently than the debug code, you are (randomly) corrupting something that makes a difference.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About "Release" mode Alex Main CFD Forum 3 November 30, 2005 05:24


All times are GMT -4. The time now is 23:57.