- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved: there was an optimization flag difference between one of the source files.
I have a fortran code which I compile with Intel Compiler 12.0.4 on two different machines with Xeon E5620 and X5650. The X machine produces a slightly bigger code. The code generated on the X machine runs well on both machines however the smaller code generated on the E machine produces wrong results on both. The problem is not presented if the code is built by an older 10.2 compiler.OS: SLES 11.1
Compiler: 12.0.4 Fortran
Flags: -O2 -xSSE4.2 -ip -ftz
Is there any difference in code generation on various Xeon processors from the same family (56xx)?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello hornos,
Can you elaborate on 'produces wrong results on both'?
What are the errors?
I'm not a compiler guy but I'm sure this is one of the first questions the compiler folks will ask.
Thanks,
Pat
Can you elaborate on 'produces wrong results on both'?
What are the errors?
I'm not a compiler guy but I'm sure this is one of the first questions the compiler folks will ask.
Thanks,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could compare the compiler output files. There shouldn't be any difference, if the compiler installations and options chosen are the same. The -ip option is more likely to expose source code bugs such as data over-runs, as well as increasing the code size. -xSSE4.2 may produce smaller or slightly slower code than -xSSE4.1.
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
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