Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29242 Discussions

fortcom gives warning(?) message "unaligned access"

jaydeep_m
Beginner
662 Views
Hi,

I recently installed the Intel Fortran Compiler (ifort) version 8.1 on an IA64 platform. When compiling a particular Fortran file, the compiler gives the following sort of warning:

fortcom(9242): unaligned access to 0x2000000000af5285, ip=0x40000000005ef781

..4 such warnings are generated. The object files are still created and the test case runs correctly to completion.

What does the warning signify, and how can I fix it ?

Thanks,
-Jaydeep

ps. The exact command line I give is:
ifort -g -c -O2 -auto -autodouble -openmp -DNOMPI -DTHREADED=1 -DOPENMP=1 -c main.F

If I leave out the "-g" flag, the warnings disappear.
0 Kudos
3 Replies
TimP
Honored Contributor III
662 Views
This would not appear to be a fault in your source code. If you want something done about it, please submit a case which reproduces it on premier.intel.com.
In my experience, such messages would come out on the console or log, and would not be seen when compiling in a user window. So, remember to give details if filing a problem report.
0 Kudos
jaydeep_m
Beginner
662 Views
Thanks for the prompt response, I will submit a test case to premier.intel.com.

-Jaydeep
0 Kudos
Steven_L_Intel1
Employee
662 Views
Note that the warnings are harmless, but they certainly should not be appearing, so take Tim's advice.
0 Kudos
Reply