SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2010 mpicc-1.2.5.2-11mdv2008.1.i586.rpm

mpicc

Section: MPI Commands (1)
Updated: 11/23/1999
Index 

NAME

mpicc - Compiles and links MPI programs written in C  

DESCRIPTION

This command can be used to compile and link MPI programs written inC. It provides the options and any special libraries that areneeded to compile and link MPI programs.

It is important to use this command (or a Makefileprocessed withmpireconfig) particularly when linking programs, as it providesthe necessary libraries. It can also simplify the use of the MPEprofiling libraries, through the use of the -mpilog, -mpitrace,and -mpianimcommands.

 

COMMAND LINE ARGUMENTS

-mpilog
- Build version that generate MPE log files
-mpitrace
- Build version that generates traces
-mpianim
- Build version that generates real-timeanimation
-show
- Show the commands that would be used withoutrunnning them
-help
- Give short help
-echo
- Show exactly what this program is doing.This option should normally not be used.
others
- are passed to the compiler or linker. For example, -ccauses files to be compiled, -gselects compilation with debuggingon most systems, and -o namecauses linking with the outputexecutable given the name name.

 

ENVIRONMENT VARIABLES

The environment variables MPICH_CCand MPICH_CLINKERmay be usedto select different C compiler and linker. Note that sinceMPICH is built with a particular C and Fortran compiler, change thecompilers used can cause problems. Use this only if you could intermixcode compiled with the different compilers.

 

EXAMPLES

To compile a single file foo.c, use
mpicc -c foo.c 

To link the output and make an executable, use

mpicc -o foo foo.o

Combining compilation and linking in a single command

mpicc -o foo foo.c

is a convenient way to build simple programs.

 

SEE ALSO

mpif77, mpireconfig
 

LOCATION

/home/MPI/mansrc/commands


 

Index

NAME
DESCRIPTION
COMMAND LINE ARGUMENTS
ENVIRONMENT VARIABLES
EXAMPLES
SEE ALSO
LOCATION

This document was created byman2html,using the manual pages.