main

::COMPILING MPICH APPLICATIONS:

Here are the settings necessary to compile an mpi application written in C/C++ with gcc.

Create a new makefile make the following settings:

include path:

If you installed the full source tree (mpich.nt.1.2.1.src.zip) If you installed the SDK (mpich.nt.1.2.1.all.zip)
  • [MPICH Home]\include
  • [MPICH Home]\mpid\nt_ipvishm
  • [MPICH Home]\mpid\ch2
  • [MPICH Home]\mpid\util
  • [MPICH Home]\include

libraries:

lib path:

Add your source files to the makefile and then build.

main