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 | description | platform | binary package |
---|---|---|---|
Red Hat 7 on pentium | |||
absoft | Absoft ProFortran compilers | i386 | not include |
pgi | The Portland Group Fortran 90 compiler | i386 | include |
fujitsu | Fujitsu Fortran 90 compilers | i386 | include |
intel | Intel Fortran compilers | i386 | include |
compaq | Compaq Fortran compiler | alpha | not include |
-compiler-path compiler
--compiler-path compiler
compiler
is compatible with the MPICH libraries
-mpilog
-mpitrace
-mpianim
-show
-compile_info
-link_info
-help
-echo
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
mpc++(1)
,
mpirun(1)
Providing Optional Compilers