Path: utzoo!attcan!sobmips!roe From: roe@sobmips.UUCP (r.peterson) Newsgroups: comp.sys.mips Subject: Re: f77 large arrays Message-ID: <1989Dec4.001807.14183@sobmips.UUCP> Date: 4 Dec 89 00:18:07 GMT References: <32418@servitude.mips.COM> Organization: Sobeco Group - Montreal, Canada Lines: 38 From article <32418@servitude.mips.COM>, by rogerk@mips.COM (Roger B.A. Klorese): > In article <1989Nov29.155110.2672@sobmips.UUCP> laporte@sobmips.UUCP (p.laporte) writes: >>When compiling the following program i get an error in as1 >> >> dimension i(800000) >> data i/800000*0/ >> stop >> end >> >>f77 -c big.f >> >>as1: Error: , line 0: Not enough space >>Fatal error in: /usr/lib/cmplrs/f77/as1 - core dumped >>Signal 139 >> >>If i remove the data line all is ok. >> >>Has anyone faced the same problem and found a solution. > > It shouldn't coredump, but does because as1 is growing too big for your > swap space. This is an unlikely explanation. The M-120 in question is running with 100MB of swap space - two 40M partitions and 1 20MB, on three different spindles. Also, max user process size is set to 8MB - however, 800000*(4 bytes/int)= (about) 3.2 MB. No way is the assembler taking the other 4.8 MB. Also, an error message like: as1: Error: , line 0: Not enough space ^^^^^^^^^ is not useful. -- One makes strong assumptions delving Roe Peterson into the beginning of the universe... {uunet,mcgill-vision}!sobeco!roe - Stephen Hawking, Cambridge