Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 255787 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


mpif77 - Compiles and links MPI programs written in Fortran 77


This command can be used to compile and link MPI programs written in Fortran 77. It provides the options and any special libraries that are needed to compile and link MPI programs.

It is important to use this command (or a Makefile processed with mpireconfig ) particularly when linking programs, as it provides the necessary libraries. It can also simplify the use of the MPE profiling libraries, through the use of the -mpilog , -mpitrace , and -mpianim commands.


- Build version that generate MPE log files
- Build version that generates traces
- Build version that generates real-time animation
- Show the commands that would be used without runnning them
- Give short help
- Show exactly what this program is doing. This option should normally not be used.
- are passed to the compiler or linker. For example, -c causes files to be compiled, -g selects compilation with debugging on most systems, and -o name causes linking with the output executable given the name name .


The environment variables MPICH_F77 and MPICH_F77LINKER may be used to select different Fortran 77 compiler and linker. Note that since MPICH is built with a particular C and Fortran compiler, change the compilers used can cause problems. Use this only if you could intermix code compiled with the different compilers.


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

is a convenient way to build simple programs.


mpicc, mpireconfig


La drogue : "La drogue, faut pas toucher, c'est sérieux... Moi j'ai
touché, j'ai perdu le touch, j'avais plus le feeling de la vie... Ma
brain était à l'envers dans ma tête. La drogue, c'est comme quand tu
close your eyes et que tu traverses la rue..."
-+- Jean-Claude VanDamme -+-