Thanks for the information. I thought the mpif90, mpf77, mpicc etc. are just the script file to invoke the appropriate compilers. Unfortunately, I don't have any mpif90, mpif77 etc. as I am using Windows. Where/how can we get those scripts/wrappers for the Windows? 
<br><br>My main.f95 is just the hello world program:<br><br>--------------------------------------------<br>PROGRAM hello<br>INCLUDE &#39;C:\Program Files\MPICH2\include\mpif.h&#39;<br>INTEGER err<br>CALL MPI_INIT(err)<br>
PRINT *, &quot;Hello world!&quot;<br>CALL MPI_FINALIZE(err)<br>END hello<br>--------------------------------------------<br><br>Sincerely,<br>Hom<span class="sg"></span>