From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,714079992eda26fa X-Google-Attributes: gid1164f8,public From: Steve Lionel Subject: Re: [Q] DEC Alpha / F90 stack problem ... Date: 1998/06/05 Message-ID: <6l97io$bqf@usenet.pa.dec.com>#1/1 X-Deja-AN: 359876607 Distribution: world References: <6l5ga4$ng$1@nnrp1.dejanews.com> Organization: Digital Equipment Corporation, Nashua NH Reply-To: Steve Lionel Newsgroups: comp.sys.dec In article <6l5ga4$ng$1@nnrp1.dejanews.com>, dEdmundson@Bigfoot.com writes: |> |> |>We have a number of "OSF1 V4.0 878 alpha" workstations. The following |>simple Fortran90 code works on various other platforms but gives a |>segmentation fault on our DEC boxes. It may be that the large temporary |>arrays created by the subroutine are being allocated on the stack |>rather than the heap. If so, can this behaviour be changed or |>otherwise remedied? DIGITAL UNIX defaults to a rather small stack size limit. You can raise the value with the command: ulimit -s 100000 (csh) limit stacksize unlimited (ksh) -- Steve Lionel mailto:Steve.Lionel@digital.com Fortran Development http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on DIGITAL Fortran, see http://www.digital.com/fortran