This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Lianmei, >Date: Mon, 24 May 1999 14:35:19 -0400 (EDT) >From: Lianmei Gao <address@hidden> >Organization: Rosenstiel School of Marine and Atmospheric >Science/(RSMAS)/University of Miami >To: Steve Emmerson <address@hidden> >Subject: Re: 19990524: problem with UDUNITS: unaligned access >Keywords: 199905241550.JAA27700 In the above message, you wrote: > Your advice works very well, and now I can run the program with success. Great! > But do you know how to get rid of the msg "unaligned access .....", it is > associated with subroutine udparse. The complete msg is: > > Unaligned access pid=22393 <a.out> va=0x140005474 pc=0x120019c54 > ra=0x120007e38 inst=0x8e100000 > > a lot of thanks again, You can use the uac(1) utility to set how the operating system handles unaligned memory accesses -- including automatically fixing them. Unfortunately, I don't recall the arguments to the utility. I suggest you do a 'man 1 uac' to get more information on how to use it. -------- Steve Emmerson <http://www.unidata.ucar.edu>