Special compilation commands


Up: Getting started Next: Using Makefiles Previous: Compiling and linking

The commands

mpicc -o first first.c 
mpif77 -o firstf firstf.f 
may be used to build simple programs when using MPICH.

These provide special options that exploit the profiling features of MPI

-mpilog
Generate log files of MPI calls
-mpitrace
Trace execution of MPI calls
-mpianim
Real-time animation of MPI (not available on all systems)

There are specific to the MPICH implementation; other implementations may provide similar commands (e.g., mpcc and mpxlf on IBM SP2).



Up: Getting started Next: Using Makefiles Previous: Compiling and linking