Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Fortran: Large static arrays = unal trap + core
@ 1999-03-09 16:10 Matt Nelson
  1999-03-10 11:53 ` Harvey J. Stein
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Nelson @ 1999-03-09 16:10 UTC (permalink / raw)
  To: axp-list

everybody around here uses Fortran (egcs/g77).  i have some users that
need very large arrays, i.e., several hundreds of megabytes.  here's how
they set it up (don't ask... there is an evolutionary reason for this
convoluted way to do it...):

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

here's the problem.  sometimes the code works fine, and other times it
core dumps immediately when executed, triggering an unaligned trap message
in /var/log/messages.

system:  LX164, 512M + 512M swap, Red Hat 5.2 + 2.2.1 kernel

does anybody have any idea what's going on?

-matt

-----------------------------------------------------------------------------
Matthew Nelson
Dynamics Technology, Inc. 
21311 Hawthorne Blvd., Suite 300, Torrance, CA 90503-5610
Voice: (310) 543-5433   FAX: (310) 543-2117   Email: mnelson@dynatec.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-03-10 17:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-09 16:10 Fortran: Large static arrays = unal trap + core Matt Nelson
1999-03-10 11:53 ` Harvey J. Stein
1999-03-10 15:05   ` Matt Nelson
1999-03-10 15:14     ` Greg Lindahl
1999-03-10 15:44     ` Phillip Ezolt
1999-03-10 17:29     ` Wes Bauske

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