From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,be98d936189ae00 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-09-26 11:59:29 PST Path: bga.com!news.sprintlink.net!uunet!gatech!newsxfer.itd.umich.edu!newsrelay.iastate.edu!news.iastate.edu!cfrandal From: cfrandal@iastate.edu (Charles F Randall) Newsgroups: comp.unix.osf.misc Subject: Re: Unaligned access Date: 26 Sep 1994 18:47:31 GMT Organization: Iowa State University, Ames, Iowa (USA) Message-ID: <367503$7o5@news.iastate.edu> References: <940926195621@student.iki.kfki.hu> NNTP-Posting-Host: wingtip.cc.iastate.edu Bela Fazekas 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 ... >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/