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

  1. Path: sparky!uunet!ukma!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!ucbvax!ACCESS.DIGEX.COM!tdarcos
  2. From: tdarcos@ACCESS.DIGEX.COM (Paul Robinson)
  3. Newsgroups: comp.os.vms
  4. Subject: [TDR] Large Fortran Arrays
  5. Message-ID: <Pine.3.05.9301271045.C3981-b100000@access>
  6. Date: 27 Jan 93 15:21:45 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 34
  11.  
  12. KN>I have a friend who wants to run a program that has large arrays. 
  13.   >He hasn't been able to get beyond linking the darn thing.  His 
  14.   >declaration section reads as follows:
  15.   
  16. KN>     COMMON X(2400,2400),A1(2400,2400),A2(2400,2400),WT(5,2400),
  17.   >   & XT(2400,2400),D(2400),XMEAN(2400),SUM(2400),SD(2400),DT(2400)
  18.   >    CHARACTER*15 IN(12),OUT1,OUT2
  19.  
  20. Let's see: a 2400 x 1000 element record would be 2.4 million words, and
  21. that's floating-point elements.  Times 2400 it would be 5,760,000 words
  22. *EACH* for X, A1, A2 and XT.  It would be another minor 20K for the WT
  23. and other arrays. 
  24.  
  25. That's 23,040,000 *words* of virtual memory!
  26.  
  27. Assuming one can set up a process this large (someone else on INFO-VAX
  28. will probably be able to say) he would almost certainly have to raise some
  29. limits on resource consumption.
  30.  
  31. Why does he need to set up such huge arrays?  Can he use a sparse matrix
  32. or something else?  Can he create files on disk?  This is probably just
  33. too big given the current limits that are imposed on him.  
  34.  
  35. Reminds me of a story.  This one university wanted to do some tests on the
  36. effects of certain conducting capabilities using very short high-energy
  37. bursts, of, oh say, 10 gigawatts for three seconds twice a day.  Well,
  38. suffice to say this was more than the entire power capacity for the
  39. electric company for that area!  The Utility informed the university that
  40. they were not interested in their business for this application and were
  41. free to find electricity from any other source that was willing to supply
  42. it in those kinds of quantities.
  43.  
  44.  
  45.  
  46.