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