MPIF77(1)
USER COMMANDS
MPIF77(1)
NAME
mpif77 - Compile or link FORTRAN language MPI programs

SYNOPSIS
mpif77 [option | filename]...

DESCRIPTION
The mpif77 command compiles source files in the FORTRAN language, and links object files. The source filename extension should be .f or .F.

OPTIONS
-compiler compiler
--compiler compiler
Specify the Fortran compiling environment used to compile and link MPI programs. The default, if this option is not specified, is gnu (g77). To more datail, 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.5 and yampi. default is mpich-1.2.5. 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 option dose not use on 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:
	mpif77 -c foo.f
To link the output and make an executable, use:
	mpif77 -o foo foo.o
Combining compilation and linking in a single command:
	mpif77 -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:

	mpif77 -compiler gnu -compiler-path /usr/tool/gcc/bin/g77

BUGS

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