home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!mccall!tp
- Newsgroups: comp.os.vms
- Subject: Re: MEMFUL on large arrays
- Message-ID: <1993Jan26.155520@mccall.com>
- From: tp@mccall.com (Terry Poot)
- Date: Tue, 26 Jan 1993 15:55:20 CST
- Reply-To: tp@mccall.com (Terry Poot)
- References: <4582@winnie.fit.edu>
- Distribution: usa
- Organization: The McCall Pattern Co., Manhattan, KS, USA
- Nntp-Posting-Host: mis1
- Nntp-Posting-User: tp
- Lines: 44
-
-
- In article <4582@winnie.fit.edu>, karin@zach.fit.edu (Karin Nicholson) writes:
- >I have a friend who wants to run a program that has large arrays. He hasn't
- >been able to get beyond linking the darn thing. His declaration section
- >reads as follows:
- >
- > COMMON X(2400,2400),A1(2400,2400),A2(2400,2400),WT(5,2400),
- > & XT(2400,2400),D(2400),XMEAN(2400),SUM(2400),SD(2400),DT(2400)
- > CHARACTER*15 IN(12),OUT1,OUT2
- >
- >When he tries to link, he gets the following messages:
- >
- >%LINK-E-MEMFUL, insufficient virtual address space to complete this link
- >-LINK-E-NOIMGFIL, image file not created
-
- I assume you know how big this is! Anyway, this happened to me a long long time
- ago, and the answer was to raise the sysgen parameter VIRTUALPAGECNT.
- Apparently, you need to be able to virtually address the whole image to link
- it.
- You also had better check the size of your page file. This program uses over
- 100
- megabytes of virtual memory, which means you are going to need a page file well
- over 200,000 blocks, and your virtualpagecnt parameter is going to have to be
- upwards of 200,000 also. Read the manuals to learn all the ramifications of
- this, do _not_ simply take my word for it. This was about 10 years ago, on VMS
- 3.2 or something like that!
-
- >I'd like to know where in the grey wall I can find out more information about
- >demand-zero compression. I have looked in a couple of places, but came up
- >empty-handed.
-
- The linker manual. VIRTUALPAGECNT is in the sysgen manual, and you'll also want
- to look at the various system management guides about sysgen parameters and
- managing page files and virtual memory.
- --
- Terry Poot <tp@mccall.com> The McCall Pattern Company
- (uucp: ...!rutgers!depot!mccall!tp) 615 McCall Road
- (800)255-2762, in KS (913)776-4041 Manhattan, KS 66502, USA
-
- PS: Followup-To: should contain one or more newsgroups, not an email address.
- That goes on Reply-To:. "Followup-To: poster" is a special form that tries to
- coerce people into emailing rather than posting. This is posted in case I got
- something wrong, so someone can correct me, and in case it is of use to someone
- else.
-