MPIF90(1) | MPIF90(1) |
mpif90 [option | filename]...
mpif90
command compiles source files in the FORTRAN 90
language, and links object files. The source filename extension should be
.f
, .F
, .f90
, .for
or .FOR
.
-compiler compiler
--compiler compiler
-compiler-path compiler
--compiler-path compiler
compiler
is compatible with the MPI libraries
-show
-help
foo.f
use:
mpif90 -c foo.fTo link the output and make an executable, use:
mpif90 -o foo foo.oCombining compilation and linking in a single command:
mpif90 -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:
mpif90 -compiler fujitsu -compiler /usr/tool/FFC/bin/f90
mpirun(1)
Providing Optional Compilers
Compilation of an MPI application,
Running an MPI application