home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / fortran / 3496 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  868 b 

  1. Path: sparky!uunet!spool.mu.edu!agate!pedro
  2. From: pedro@eerc.berkeley.edu (Peter Clark)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Problem with WRITE for large arrays (SOLVED!)
  5. Date: 9 Sep 1992 21:42:32 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 13
  8. Message-ID: <18lr48INN2j5@agate.berkeley.edu>
  9. References: <18lhi0INNf0@agate.berkeley.edu>
  10. NNTP-Posting-Host: rock.eerc.berkeley.edu
  11.  
  12. I had a problem writing out a large array of single precision
  13. numbers into an unformatted file on a SUN4, SunOS 4.1.1
  14. >
  15. >     write(13) (sdata(k),k=1,NPTS)
  16. >
  17. >The problem is, if NPTS is greater than about 2000, the program
  18. >crashes.
  19.  
  20. Thanks to Matthew Saltzman (mjs@clemson.edu) for pointing out that there
  21. was a bug in the binary write in f77 version 1.2 or 1.3 (I was using version
  22. 1.3.1).  I since recompiled with f77 version 1.4 and the problem is gone.
  23.  
  24. Bye,  Peter
  25.