On Mon, 2010-10-04 at 11:55 -0500, Adam Mercer wrote: 
> Hi

Hi

Check the archives on this.

> In one of our projects we have one code that can be built using
> ${MPICC} (if it is available), but not other codes. How can I specify
> to use ${MPICC} for one code, but ${CC} for the others.

You can't, or so I have come to understand.

> So I guess I'm asking how to build one code using a different compiler
> than the others?

What I did was created a subdir in the dir where I wanted to use the
mpicc (and gcc) compilers and changed the CC in the subdir's Makefile.am
and then set the sources to build from the parent directory.

b.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to