title: Sequential access I/O to unit open for direct access
body: <p>I am trying to write a file with direct access as follows: </p>
  
  <pre><code>open(unit=11,access='DIRECT',recl=2*mumps_par%N,file=namr,form='unformatted',convert='big_endian')
  write(11,rec=1) (dble(vp(i)),i=1,mumps_par%N)
  close(11)
  </code></pre>
  
  <p>The <code>2*</code> for the record length is because I am using ifort.</p>
  
  <p>When I run this I get the error: </p>
  
  <pre><code>forrtl: severe (259): sequential-access I/O to unit open for direct access, unit 11 path/to/file
  </code></pre>
  
  <p>How can I write to this file?</p>