Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!hplabs!hpfcso!cunniff From: cunniff@hpfcso.HP.COM (Ross Cunniff) Newsgroups: comp.sys.hp Subject: Re: fortran problems on the 800's (3.1) Message-ID: <7370068@hpfcso.HP.COM> Date: 18 Jan 90 16:55:57 GMT References: Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 24 > this little fortran program dumps core on our 835's. Can anyone tell >me why? If the array is dimensioned 1000000 instead, there is no problem >Thanks in advance. >The code (compiled with no complier flags) ... >real*8 rwork(1011117) I suspect you have your stack size set to 8Mbytes (8388608 bytes). This implies that the largest real*8 array you could have would be 1048576 elements long (actually, it is probably a little smaller since compilers often use the stack for temporaries). You might try compiling with -K, if you truly *need* an array that large, or you might increase the stack size in the kernel (consult your Systems Adminstrator's guide). > Dan Stodolsky > Engineering Design Reserach Center Ross Cunniff Hewlett-Packard Colorado Languages Lab ...{ucbvax,hplabs}!hpfcla!cunniff cunniff%hpfcrt@hplabs.HP.COM