Fortran I/O trouble

ROGERIO%ccvax.unicamp.ansp.br at uicvm.uic.edu ROGERIO%ccvax.unicamp.ansp.br at uicvm.uic.edu
Wed Apr 3 01:00:00 AEST 1991


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 at ccvax.unicamp.ansp.br"



More information about the Comp.sys.sun mailing list