| MPIF77(1) | MPIF77(1) | 
| compiler | description | platform | binary package | 
|---|---|---|---|
| Red Hat 7 on pentium | |||
| gnu | GNU Fortran compiler (default) | all | include | 
| absoft | Absoft ProFortran compilers | i386 | not include | 
| pgi | The Portland Group Fortran compiler | i386 | include | 
| fujitsu | Fujitsu Fortran compilers | i386 | include | 
| intel | Intel Fortran compilers | i386 | include | 
| compaq | Compaq Fortran compiler | alpha | not include | 
 
foo.f use:
mpif77 -c foo.fTo link the output and make an executable, use:
mpif77 -o foo foo.oCombining compilation and linking in a single command:
mpif77 -o foo foo.fAlthough this is a convenient way to build simple programs, it may not work on some systems, and thus is not recommended.
Combining a compilation environment with a specific compiler:
mpif77 -compiler gnu -compiler-path /usr/tool/gcc/bin/g77