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.

To link in the SCore libraries, mpicc uses scorecc(1) as the linker. So mpicc will use its defaults.

If you install mpi-selector(1), please set score7 by mpi-selector(1) or mpi-selector-menu(1)

OPTIONS

-compiler compiler
--compiler compiler
Specify the C compiling environment used to compile and link MPI programs.

-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 MPI 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.

-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.

-help
Display simple usage

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

SEEALSO

mpi-selector(1), mpi-selector-menu(1), scorecc(1), compiler_script(5)
CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003-2008 PC Cluster Consortium.