From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8aa51189d42a66a4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-11-09 10:10:26 PST Path: gmd.de!xlink.net!math.fu-berlin.de!netmbx.de!Germany.EU.net!mcsun!uunet!news.moneng.mei.com!howland.reston.ans.net!agate!ames!skates.gsfc.nasa.gov!usenet From: oneel@athena.gsfc.nasa.gov (Bruce O'Neel) Newsgroups: comp.sys.dec Subject: Re: HELP!! : Unaligned access error on DEC Alpha, $OS == osf1 Date: 9 Nov 1993 17:06:22 GMT Organization: NASA Goddard Space Flight Center -- InterNetNews site Message-ID: <2boime$fs4@skates.gsfc.nasa.gov> References: <2blfa2INN4sq@flop.ENGR.ORST.EDU> <1993Nov9.042605.24231@adobe.com> NNTP-Posting-Host: athena.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit kolling@adobe.com (Karen Kolling) writes: >In article <2blfa2INN4sq@flop.ENGR.ORST.EDU> jacobj@research.CS.ORST.EDU (Joseph Jacob) writes: >>Hi, >> >>We are trying to port the Charm programming environment to the DEC Alphas. >>We ported Charm to HPs and RS6000s with success. >>But, on the DEC Alpa machine, running OSF ,we have here we get >> >>Unaligned access pid=4493 va=14008c01c pc=1200068e8 ra=1200068d8 type=stq >> >I think it's unhappy because pointers are 64 bit items while ints are 32 >bits, and you're trying to store into space that is not 64 bit aligned. >Run lint -Q on your code. I wasn't the origional person, but I have a similiar question. We have code in both fortran and C, and when we call a c routine from fortran we get exactly this message. I figured it was a pointer alignment problem (since we pass pointers to the C routine, fortran remember?) but is there a way to solve this? Thanks for any and all help! bruce -- For every problem there is one solution which is simple, neat, and wrong. -- H.L. Mencken