title: Open MPI ranks are not in order
body: <p>When i run an "Open MPI" program, it generally assigns ranks in random order I want to know 
  is there a way to always assign ranks in order? </p>
  
  <p>So instead of this </p>
  
  <pre><code>Hello, World. I am 2 of 3
  Hello, World. I am 0 of 3
  Hello, World. I am 1 of 3 
  </code></pre>
  
  <p>can i get this</p>
  
  <pre><code>Hello, World. I am 0 of 3
  Hello, World. I am 1 of 3
  Hello, World. I am 2 of 3 
  </code></pre>
  
  <p>EDIT</p>
  
  <p>here is the code</p>
  
  <pre><code>    PROGRAM hello
  INCLUDE 'mpif.h'
  INTEGER*4 :: numprocs, rank, ierr
  CALL MPI_INIT(ierr)
  CALL MPI_COMM_SIZE(MPI_COMM_WORLD, numprocs, ierr)
  CALL MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
  write(*,*) 'Hello World. I am', rank, 'of', numprocs
  CALL MPI_FINALIZE(ierr)
      END PROGRAM hello
  </code></pre>
  
  <p>I have tested it on i5 processor (4 threads) when i run</p>
  
  <pre><code>    mpirun -np 4 myprog
  </code></pre>
  
  <p>it works as i want it to, ranks printed in order 0-3, otherwise (like with 3 as shown above) it just wont do it (tested it like 100 time)</p>