MPICC(1)
USER COMMANDS
MPICC(1)
NAME
mpicc - Compile or link C language MPI programs

SYNOPSIS
mpicc [option | filename]...

DESCRIPTION
The mpicc command compiles source files in the C language, and links object files. The source filename extension should be .c.

Uses scorecc(1) as the linker (scorecc will automatically link in the SCore libraries), so will use its defaults (in particular, -fconserve-space).

OPTIONS
-compiler compiler
--compiler compiler
Specify the C compiling environment used to compile and link MPI programs. The default, if this option is not specified, is gnu (gcc). In this version, following compilers are support:
compiler description platform binary package
Red Hat 7 on pentium
gnu GNU C compiler (default) all include
pgi The Portland Group C compiler i386 include
fujitsu Fujitsu C compilers i386 include
intel Intel C++ compilers i386 include
compaq Compaq C 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 C compiler. This option will override the compiler used for the compiling environment. NOTE: No check is made that compiler-path 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.

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

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

-help
Display simple usage

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

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

-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

SEE ALSO
mpc++(1), mpirun(1), Providing Optional Compilers

CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.