title: Reading text files using MPI-IO?
body: <p>I have a text file which contains a header with the dimensions of a matrix, and then the matrix. Here's an example for a 3x3 matrix:</p>
  
  <pre><code>3 3
  1 56 8
  12 3 0
  9 44 81
  </code></pre>
  
  <p>I kept getting garbage values with MPI-IO, and found out it only works with binary, not text files. </p>
  
  <p>I thought I'd read in a character stream and convert to integers, but I'm not sure how to approach this problem since the matrix elements have variable number of digits. I'm really not sure how to approach this?</p>