can anyone forward me a sample fortran code piece which reads a 2-d matrix from a file?
when i tried the following, the program terminated because it reached the ' end of file'
          open (1, file='3in', status='old')
          read (1,556) ((ggk(ii,jj),ii=1,12),jj=1,12)
556     format (12(/,1x,12g10.3E2))