title: MPI write to file sequentially
body: <p>I am writing a parallel VTK file (pvti) from my fortran CFD solver. The file is really just a list of all the individual files for each piece of the data. Running MPI, if I have each process write the name of its individual file to standard output</p>
  
  <pre><code>print *, name
  </code></pre>
  
  <p>then I get a nice list of each file, ie</p>
  
  <pre><code>block0.vti
  block1.vti
  block2.vti
  </code></pre>
  
  <p>This is exactly the sort of list I want. But if I write to a file</p>
  
  <pre><code>write(9,*) name
  </code></pre>
  
  <p>then I only get one output in the file. Is there a simple way to replicate the standard output version of this without transferring data?</p>