- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I saw this topic for the visual Fortran compiler for Windows, I get the same warning on OSX for a code that I didn't write.
#6375: Because of COMMON, the alignment of object is inconsistent with its type
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/296523
What does it mean? what are the "potential performance impact"?
Thanks
GB
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For example, you might have an odd number of 32 bit data followed by 64 bit data. That could result in a data access requiring references to 2 cache lines and the hardware piecing the 2 together or splitting them, which may be slow even though you probably have a hardware platform which supports it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim,
So the only risk is that my code slows down, am I right? My results shouldn't be affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't there a preferred practice, when using COMMON, to list variables largest first, e.g., 64-bit, then in decreasing order of size? Of course, you need to change all references to the common block.
j
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't know about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jayb is your question an answer?or are you wondering about it like me?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page