Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: oneel@athena.gsfc.nasa.gov (Bruce O'Neel)
Subject: Re: HELP!! : Unaligned access error on DEC Alpha, $OS == osf1
Date: 9 Nov 1993 17:06:22 GMT	[thread overview]
Message-ID: <2boime$fs4@skates.gsfc.nasa.gov> (raw)
In-Reply-To: 1993Nov9.042605.24231@adobe.com

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 <hpgm> 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


  reply	other threads:[~1993-11-09 17:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-11-08 12:50 HELP!! : Unaligned access error on DEC Alpha, $OS == osf1 Joseph Jacob
1993-11-08 15:32 ` John T. Kohl
1993-11-08 20:22   ` John T. Kohl
1993-11-09 12:29     ` acssysdsc
1993-11-09 20:26       ` Karen Kolling
1993-11-09 20:45         ` Karen Kolling
1993-11-10 15:06       ` Ken Cowan
1993-11-09  4:26 ` Karen Kolling
1993-11-09 17:06   ` Bruce O'Neel [this message]
1993-11-09 23:06     ` HELP!! : Unaligned access error on DEC John Lovell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox