Forgive my ignorance. I am really a newbie. When I read the man page for
"lam", it has the following:
LAM TOOLS HCC(1)
NAME
hcc, mpicc, hcp, mpiCC - Compile LAM C/C++ programs.
SYNTAX
.... see cc(1) and CC(1) (or whatever your underlying C/C++ com-
pilers are) for all other options.
DESCRIPTION
hcc and hcp are convenience wrappers for the local native C
and C++ compilers. ...
What is a convenience wrapper for a native compiler? Does that mean when
lam-mpicc is installed (sorry, I am not the sys adm, I am just a novice
user), it has to be linked with a C compiler, be it the Sun C compiler, or
gcc, or whatever? That is, if I want to compile a sequential program to
compare its performance with a MPI program, for instance, I need to compile
the sequential program using the same C compiler to be fair? And also, does
it also mean that the compiler flags that I include after "mpicc" should be
consistent with the underlying C compiler? That is, if the -O flag, for
example, is not supported by the underlying C compiler, I should not include
it after mpicc? Conversely, if a certain -XYZ flag is supported by the C
compiler, I can include it after "mpicc"? Finally, is there a command to
find out which C compiler lam-mpicc is using? I mean, can I type something
like "mpicc -help" to get information on the underlying C compiler? Thank
you very much.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
|