From rochus@felix.anorg.chemie.tu-muenchen.de  Mon Oct 21 12:16:17 1996
Received: from felix.anorg.chemie.tu-muenchen.de  for rochus@felix.anorg.chemie.tu-muenchen.de
	by www.ccl.net (8.8.0/950822.1) id MAA26579; Mon, 21 Oct 1996 12:15:42 -0400 (EDT)
Received: by felix.anorg.chemie.tu-muenchen.de (940816.SGI.8.6.9/930416.SGI)
	for chemistry@www.ccl.net id RAA12858; Mon, 21 Oct 1996 17:14:50 +0100
From: "Rochus Schmid" <rochus@felix.anorg.chemie.tu-muenchen.de>
Message-Id: <9610211714.ZM12856@felix>
Date: Mon, 21 Oct 1996 17:14:49 +0100
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: chemistry@www.ccl.net
Subject: Summ. f77 comp. on DEC alpha
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii


Dear netters:

Sorry for the delay. Because of further troubles in compiling deMon on the
alpha this "summary" comes late.

On Sep 27,  5:56pm, Rochus Schmid wrote:
> Subject: f77 comp. on DEC alpha
> Dear Netters,
>
> We currently have some problems to compile a DFT-programm (deMon 1.1) on our
> new DEC Alpha.
>
> We didn't have any trouble to compile it and get it running on our SGI
(R4400).
> It works and produces correct values.
> However, we don't have a lot of experience with Alphas. So after solving some
> minor compiling and linking problems we have an executable now. After reading
> the input it stops while building the grids with the error message:
>
> unaligned access .....
>
> I have the feeling (however, I'm possibly completely wrong, pleas e forgive
me
> in that case ;-) that the problem of the 64 bit architecture and the code is
> not "suited" to that, since the same thing is running fine on the SGI.
>
> Can anyone of you give us a hint:
>
> 	- did anyone build deMon on an Alpha?
>
> 	- is this a common problem when porting to Alphas (maybe this is not
> 			   specific to our code)?
>
> 	- what kind of constructions can be the origin of the problem?
> 	  Is there something specific to check in the code?
>
> Any help is very much appreciated.
> Thank you very much.
>
> Best greetings from Munich,
>
> Rochus
>
>-- End of excerpt from Rochus Schmid


Many thanx to all who answered.

All replies suggested to find the compilier flag which forces all common blocks
to be aligned. On the alpha, this flag is:

-align dcommons

This helped :-)
However, other problems, more specific to the deMon source code appeared and
are partly unsolved yet :-(

Greetings,

Rochus

-- 

********************************************************************************
Rochus Schmid
Technische Universitaet Muenchen	Tel. 	++49 89 2891 3140
Lehrstuhl f. Anorganische Chemie 1	Fax. 	++49 89 2891 3088
Prof. W. A. Herrmann			E-mail:	
Lichtenbergstrasse 4			rochus@felix.anorg.chemie.tu-muenchen.de
85747 Garching
********************************************************************************

