- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote, compiled and ran a simulation program both using icc and gcc. The output was not the same, but it was very close most of the time.
In a few case in the program's output, the difference between gcc and icc compiler was great. This was a small amount of time - a rare event. But still it was noticeable.
Should I be concerned or is this SOP?
Newport_j
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume the difference is coming from floating point calculations? If so, I recommend the following article:
http://software.intel.com/en-us/articles/consistency-of-floating-point-results-using-the-intel-compiler/
which does a good job of explaining your options for dealing with floating-point.
http://software.intel.com/en-us/articles/consistency-of-floating-point-results-using-the-intel-compiler/
which does a good job of explaining your options for dealing with floating-point.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page