From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31931 invoked from network); 10 Mar 1999 15:21:36 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Mar 1999 15:21:36 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.136.41] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA19172 for ; Wed, 10 Mar 1999 10:14:45 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id KAA23159 for ; Wed, 10 Mar 1999 10:14:43 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id KAA17789 for axp-list@redhat.com; Wed, 10 Mar 1999 10:14:42 -0500 (EST) Message-Id: <199903101514.KAA17789@adder.cs.Virginia.EDU> Subject: Re: Fortran: Large static arrays = unal trap + core To: axp-list@redhat.com Date: Wed, 10 Mar 1999 10:14:42 -0500 (EST) In-Reply-To: from "Matt Nelson" at Mar 10, 99 07:05:30 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > > - declare some dummy arrays: real dummy1(60000000) (three of em) > > > - save an I*8 pointer to the array: pointer=%loc(dummy1(1)) > > > - pass the pointer to subroutines that do the meat of the work via > > > %val(pointer) You should print a debugging statement right after you declare those arrays (i.e. at program start, if they are in the main program); that will tell you if you ran out of memory and immediately dumped core. Then you should print the I*8 value of pointer. You can see if it is misaligned or not. There may also be a weirdness in the way %val() interacts with subroutine arguments on Alpha g77. Hm. > could the memory get too fragmented to allow for declaration of such a > large array? I don't think Linux has this "feature". -- g