MPIF90(1)
USER COMMANDS
MPIF90(1)
NAME
mpif90 - Compile and links MPI programs written in FORTRAN 90

SYNOPSIS
mpif90 [option | filename]...

DESCRIPTION
The 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.

OPTIONS
-compiler compiler
--compiler compiler
Specify the Fortran compiling environment used to compile and link MPI programs. For more detail, please read Providing Optional Compilers.

-compiler-path compiler
--compiler-path compiler
Specify the Fortran compiler. This option will override the compiler used for the compiling environment. NOTE: No check is made that compiler is compatible with the MPI libraries

-mpi mpi_version
--mpi mpi_version
Use the MPI version specified with mpi_version. The command will abort with an error message if the MPI version cannot be found. Currently, supported MPI version are mpich-1.2.4 and mpich-1.2.0. default is mpich-1.2.4. REVISED

-device mpi_device
--device mpi_device
Use the MPI device specified with mpi_device. The command will abort with an error message if the MPI device cannot be found. This version dose not use in this version.

-show
Show the commands that would be used without running them

-nockpt
--nocheckpoint
Disables all checkpointing facilities. Also disable all system call overrides for checkpoint.

-help
Display simple usage

EXAMPLES
To compile a single file foo.f use:
	mpif90 -c foo.f
To link the output and make an executable, use:
	mpif90 -o foo foo.o
Combining compilation and linking in a single command:
	mpif90 -o foo foo.f
Although 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

BUGS

SEE ALSO
mpirun(1) Providing Optional Compilers Compilation of an MPI application, Running an MPI application