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. In this version, following compilers are support:
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
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:
	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
mpc++(1), mpirun(1) Providing Optional Compilers

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