MPIF77(1) | MPIF77(1) |
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