From: cfrandal@iastate.edu (Charles F Randall)
Subject: Re: Unaligned access
Date: 26 Sep 1994 18:47:31 GMT [thread overview]
Message-ID: <367503$7o5@news.iastate.edu> (raw)
In-Reply-To: 940926195621@student.iki.kfki.hu
Bela Fazekas <bela@magfiz.iki.kfki.hu> wrote:
>I look for somebody who can help me to solve the following problem:
>I compiled a fortran program with f77 and when I run the program
>I get the following messages several times:
>Unaligned access pid=2899 <cindy.exe> ...
>How can I suspend these run time messages without rewrite the program?
>In other words is there any switch in the compiler which suspends
>these messages?
You may be paying a massive performance penalty for this unaligned
access. Try re-compiling with some compiler option that will align data
on word (or double-word) boundaries. The option in DEC Fortran under
OSF/1 is either '-align commons' or '-align dcommons'.
For example:
% f77 -align dcommons -o prog prog.f
See your compiler documentation for the details.
-Randy
Charles F. Randall, IV e-mail: cfrandal@iastate.edu
Systems Analyst voice : (515) 294-9316
Computation Center office: 113 Durham
Iowa State University http://www.public.iastate.edu/~cfrandal/
next prev parent reply other threads:[~1994-09-26 18:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-26 23:56 Unaligned access Bela Fazekas
1994-09-26 18:47 ` Charles F Randall [this message]
1994-09-28 17:06 ` Mark Charette
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