<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to HandleOutputFiles</title><link>https://sourceforge.net/p/ermod/wiki/HandleOutputFiles/</link><description>Recent changes to HandleOutputFiles</description><atom:link href="https://sourceforge.net/p/ermod/wiki/HandleOutputFiles/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 02 May 2012 07:58:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ermod/wiki/HandleOutputFiles/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage HandleOutputFiles modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/HandleOutputFiles/</link><description>Handling output files
====

###I want to read correlation matrix directly.###

The correlation matrix in this question means a corref.xx file.
Use the following fortran program to read the matrix.

~~~~
::::fortran
program main
  integer, parameter :: d = 1396
  real(8) :: x(d, d)
  integer :: i, j
  open (unit = 10, file = "corref.01", form = "UNFORMATTED", action = "read", status = "OLD")
  read (unit = 10) x(:, :)
  do i = 1, d
    do j = 1, d
      print *, x(i, j)
    end do
  end do
end program main
~~~~

In the above program, the parameter d in the second line is the dimension of histogram.
It can be measured by e.g. "wc -l engref.01"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Wed, 02 May 2012 07:58:40 -0000</pubDate><guid>https://sourceforge.neta031ba0b5b3acf78dab629a7efa546838c66c3bc</guid></item></channel></rss>