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). In this version, following compilers are support:
compiler description platform binary package
Red Hat 7 on pentium
gnu GNU Fortran compiler (default) all include
absoft Absoft ProFortran compilers i386 not include
pgi The Portland Group Fortran compiler i386 include
fujitsu Fujitsu Fortran compilers i386 include
intel Intel Fortran compilers i386 include
compaq Compaq Fortran compiler alpha not include
NOTE: If you want to use the compiler that not include binary, you must re-compile mpich module. If you want to use the compiler that include binary, you must install binary rpm. 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 MPICH 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. Currently, supported MPI devices are ch_score and ch_score2. Default device is ch_score. See MPICH-SCore Documents.

-mpilog
Build a version that generates MPE log files

-mpitrace
Build a version that generates traces

-mpianim
Build a version that generates real-time animation

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

-compile_info
Show how to compile a program

-link_info
Show how to link a program

-nostatic
--nostatic
Specify dynamic linking. scorecc links static by default. This option disables all checkpointing facilities.

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

-help
Display simple usage

-echo
Show exactly what this program is doing. This option should not normally be used

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

$Id: mpif77.html,v 1.6 2002/10/18 09:23:41 kameyama Exp $