Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My application is displaying “Unaligned Access” errors when running. What is the problem?

0
Posted

My application is displaying “Unaligned Access” errors when running. What is the problem?

0

This is actually a warning message and not an error. The program should still be running fine and produce the right results. Unaligned accesses are caused by data that isn’t stored with the proper alignment to memory boundaries. This can cause small delays when loading the data from memory, but it shouldn’t result in a big performance loss unless the loads are located inside a time consuming loop. Proper alignment can be ensured by reordering the declaration of variables in the code and by instructing the compiler to explicitly solve alignment problems (options -align -pad for the Intel Fortran Compiler).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123