- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried this in Intel 12, 13, 14 - the same result. I have a computation that crashes in release but it doesn't crash in debug and thus I cant find out why it crashes. Any ideas on what to do? Compiler options that can be tried? Thanks a lot in advance!!!!!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not a lot to go on here. What is the exact error you get? Typically this situation means you have a programming error that is masked by the lack of optimization. In release mode you should get a traceback indicating about where in the code the error occurred. You can study that to see if you can figure out what went wrong. You could try, in the debug configuration, changing the optimization level to 1 and then 2 to see if the error appears. You may also need to turn off run-time checks that are disabled in a Release configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You did not indicate what options you are already using. In Debug mode, can you make sure you are compiling the code with the following:
/check:all /fpe:0 /warn:all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow - you guys are awesome. /O2 cracked it. Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, what exactly did you do? /O2 is the default for a release configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Used /O2 with Debug. The problem was that an array subroutine argument was sometimes a pointer, sometimes an allocatable array and sometimes an array from the stack.
BTW, can you guys comment on my performance benchmark computation using two processors, parallel computation
Intel 12: 136 seconds
Intel 13: 156 seconds
Intel 14: 160 seconds
Has anyone else found the same thing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No comment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We regularly test performance of new versions and compare to previous versions. We don't find it acceptable for there to be a general slowdown, and for most applications, performance improves. We can't test every possible application though and there have been sporadic cases of specific applications slowing down. If you're willing to provide a test case, we'll be glad to investigate.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page