Compiling and Linking (in MPICH)
Special compiler commands for simple programs
mpicc -o first first.c mpif77 -o firstf firstf.f
Options enable MPI profiling features
- -mpilog: Generate log files of MPI calls
- -mpitrace: Trace execution of MPI calls
- -mpianim: Real-time animation (on some systems)
Standard makefiles for larger programs
- See /usr/local/mpi/examples/Makefile.in