MPC(1) MPC(1)
mpc - Multiprocessing C Source Transformer
/usr/lib/mpc [ options ] ... file [ options ] ...
/usr/lib64/cmplrs/mpc [ options ] ... file [ options ] ...
Mpc is a source-to-source C translator that transforms code containing
parallel directives, inserted by pca(1) or by hand, into parallel C code
containing calls to the C multiprocessing library. For further
information on the types of directives that mpc implements, refer to the
IRIS Power C User's Guide.
Mpc is normally invoked as an option to cc(1), although it can be run
separately. When mpc is used as part of a cc compilation, the mpc
options must be passed via the -W (specifically, -WM) mechanism. See
cc(1) for details of -W.
Mpc will accept the name of a single input source file, given anywhere on
its command line. If none is given, the standard input is used. The
input should be C code which has already been preprocessed.
An output filename can be specified using the -K option, described below.
If no such option is given, no output code will be produced.
COMMAND LINE OPTIONS
-ansi
Pure ANSI/ISO C.
-cckr
Traditional K&R/Version7 C with SGI (and some ANSI/ISO-C-like)
extensions, including function prototypes, void, and void*.
-dollar
Allows the dollar sign ($) as a character in C identifiers,
including allowing it as the leading character of an identifier.
The option is provided solely for compatibility purposes. The
dollar sign is not a standard C identifier character and its use is
not recommended.
-K<file>
This option instructs mpc to place the transformed C code into the
specified file.
-xansi
ANSI/ISO C with SGI extensions and relaxed enforcement of certain
ANSI guidelines.
-64 This option informs mpc that the code is being compiled for a 64-bit
machine. This affects the size of certain C data types.
Page 1
MPC(1) MPC(1)
/usr/lib/mpc the mpc program
/usr/lib64/cmplrs/mpc (32-bit and 64-bit versions)
file.i C preprocessed source file with directives
file.P C transformed file with parallel code
/usr/lib/libc_mp.a Multiprocessing C Runtime Library
/usr/lib64/mips3/libmp.a (mips1, mips3, and mips4 versions)
/usr/lib64/mips4/libmp.a
cc (1), cpp (1), pca (1)
IRIS Power C User's Guide.
IRIS Power C Quick Reference.
Parallel Programming on Silicon Graphics Computer Systems.
Practical Parallel Programming by Dr. Barr Bauer, Academic Press, 1991.
Introduction to Parallel Programming by Steven Brawer, Academic Press,
1989.
PPPPaaaaggggeeee 2222 [ Back ]
|