title: Decrease size of array in Fortran 90
body: <p>Assume that I had an array:</p>
  
  <pre><code>real, dimension(100000, 5) :: a
  </code></pre>
  
  <p>This array will be filled by real numbers from <code>a(0, :)</code> till <code>a(n, :)</code> where <code>n</code> is a number that lesser than <code>100000</code>. After all values are filled then we can decide value of <code>n</code> (let's assume it <code>30000</code>). I want to reshape the array to:</p>
  
  <pre><code>real, dimension(30000, 5) :: a
  </code></pre>
  
  <p>just to remove unused elements in the array. I don't want any array copy process to be performed because the array is just large, so, it can ruin a program efficiency. Is there any resolution here?</p>