[comp.sys.sun] Fortran I/O trouble

ROGERIO%ccvax.unicamp.ansp.br@uicvm.uic.edu (04/02/91)

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"