title: Howto compile MPI application in "serial" mode (without using MPI compiler)?
body: <p>This question might sound a bit weird...</p>
  
  <p>Imagine I have an MPI application, but I don't have a system with MPI installed.
  So I want to compile the application with no MPI support (1-process, 1-thread) without modifying source code.
  Is that possible?</p>
  
  <p>I found somewhere a "mimic_mpi.h" wrapper which is supposed to do exactly what I want. But there were some MPI functions missing in there (e.g., MPI_Cart_create, MPI_Cart_get, etc.), so I didn't succeed.</p>
  
  <p>mimic_mpi.h <a href="http://openmx.sourcearchive.com/documentation/3.2.4.dfsg-3/mimic__mpi_8h-source.html" rel="nofollow">http://openmx.sourcearchive.com/documentation/3.2.4.dfsg-3/mimic__mpi_8h-source.html</a></p>
  
  <p>mimic_mpi.c <a href="http://openmx.sourcearchive.com/documentation/3.2.4.dfsg-3/mimic__mpi_8c-source.html" rel="nofollow">http://openmx.sourcearchive.com/documentation/3.2.4.dfsg-3/mimic__mpi_8c-source.html</a></p>
  
  <p>Do you know any other approach I could use to compile MPI apps with no MPI support?</p>
  
  <p>Thanks in advance!</p>