LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Shashwat Srivastav (ssrivast_at_[hidden])
Date: 2003-12-01 16:02:46


Hi,

Yes, mpicc is a wrapper compiler. As Xavier mentioned, "mpicc -showme"
gives you the flags that the wrapper compiler uses. You might want to
see the man page for mpicc or the User guide at
http://www.lam-mpi.org/using/docs/. It is generally a bad idea not to
use a wrapper compiler or to replicate its functionality.

However, sometimes, like in your case, you might have to manually add
right compiler and linker flags.

You can also use the LAMHCC environment variable to make mpicc use the
Objective-C compiler as the underlying compiler. Of course, this could
cause problems, so it really isn't a better solution.

--
Shashwat Srivastav
LAM / MPI Developer (http://www.lam-mpi.org)
Indiana University
http://www.cs.indiana.edu/~ssrivast
On Dec 1, 2003, at 2:22 PM, Xavier Andrade wrote:
> On Mon, 1 Dec 2003, Phil Curry wrote:
>
>> I have a unique compile situation and am curious about what mpicc
>> actually is/does. I seem to recall reading something about it being a
>> wrapper or script around gcc. I can't find that reference again and I
>> have some code, specifically Obj-C, that I'm sure mpicc would complain
>> about. I'd like to be able to coerce my mpi code and my Obj-C code 
>> into
>> one compile, if at all possible.
>>
>
> You can see what mpicc does with `mpicc -showme`.
>
> Xavier
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>