home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22217 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.6 KB

  1. 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
  2. Newsgroups: comp.os.vms
  3. Subject: Re: MEMFUL on large arrays
  4. Message-ID: <1993Jan26.155520@mccall.com>
  5. From: tp@mccall.com (Terry Poot)
  6. Date: Tue, 26 Jan 1993 15:55:20 CST
  7. Reply-To: tp@mccall.com (Terry Poot)
  8. References: <4582@winnie.fit.edu>
  9. Distribution: usa
  10. Organization: The McCall Pattern Co., Manhattan, KS, USA
  11. Nntp-Posting-Host: mis1
  12. Nntp-Posting-User: tp
  13. Lines: 44
  14.  
  15.  
  16. In article <4582@winnie.fit.edu>, karin@zach.fit.edu (Karin Nicholson) writes:
  17. >I have a friend who wants to run a program that has large arrays. He hasn't
  18. >been able to get beyond linking the darn thing.  His declaration section
  19. >reads as follows:
  20. >
  21. >     COMMON X(2400,2400),A1(2400,2400),A2(2400,2400),WT(5,2400),
  22. >     & XT(2400,2400),D(2400),XMEAN(2400),SUM(2400),SD(2400),DT(2400)
  23. >      CHARACTER*15 IN(12),OUT1,OUT2
  24. >
  25. >When he tries to link, he gets the following messages:
  26. >
  27. >%LINK-E-MEMFUL, insufficient virtual address space to complete this link
  28. >-LINK-E-NOIMGFIL, image file not created
  29.  
  30. I assume you know how big this is! Anyway, this happened to me a long long time
  31. ago, and the answer was to raise the sysgen parameter VIRTUALPAGECNT.
  32. Apparently, you need to be able to virtually address the whole image to link
  33. it.
  34. You also had better check the size of your page file. This program uses over
  35. 100
  36. megabytes of virtual memory, which means you are going to need a page file well
  37. over 200,000 blocks, and your virtualpagecnt parameter is going to have to be
  38. upwards of 200,000 also. Read the manuals to learn all the ramifications of
  39. this, do _not_ simply take my word for it. This was about 10 years ago, on VMS
  40. 3.2 or something like that!
  41.  
  42. >I'd like to know where in the grey wall I can find out more information about
  43. >demand-zero compression.  I have looked in a couple of places, but came up
  44. >empty-handed.
  45.  
  46. The linker manual. VIRTUALPAGECNT is in the sysgen manual, and you'll also want
  47. to look at the various system management guides about sysgen parameters and
  48. managing page files and virtual memory. 
  49. --
  50. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  51. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  52. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  53.  
  54. PS: Followup-To: should contain one or more newsgroups, not an email address.
  55. That goes on Reply-To:. "Followup-To: poster" is a special form that tries to
  56. coerce people into emailing rather than posting. This is posted in case I got
  57. something wrong, so someone can correct me, and in case it is of use to someone
  58. else.
  59.