🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7320

Fortran I/O trouble

#7320
From: ROGERIO%ccvax.unicamp.ansp.br
Date: Tue, 02 Apr 1991 15:00
18 lines
1173 bytes
We have a Sparc1-Plus station with a fortran 77 compiler, 1.4 version.  If
we try to write/read an array p.e. in this way:

                write(9)((s(i,j),j=1,n),i=1,n)

and if n > 31 ,then we get an error (Segmentation Violation). When we try
a wri te/read statment like:

                do 10 i=1,n
                do 10 j=1,n
                write(9)s(i,j)
        10      continue

we get it right. We are begnners with this compiler and so that's a
extrange problem for us.  Did it alredy happend to you? If you have an
answer, send me a mail:

                in%"Rogerio@ccvax.unicamp.ansp.br"
Technical Details
Message-ID: <2251@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: ROGERIO%ccvax.unicamp.ansp.br@uicvm.uic.edu
Newsgroups: comp.sys.sun
Subject: Fortran I/O trouble
Keywords: Software
Message-ID: <2251@brchh104.bnr.ca>
Date: 2 Apr 91 15:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Original-Date: Wed, 27 Mar 91 18:53 C
X-Sun-Spots-Digest: Volume 10, Issue 67, message 17
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu