[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: selectively building with mpi
From: |
Brian J. Murrell |
Subject: |
Re: selectively building with mpi |
Date: |
Mon, 04 Oct 2010 13:00:36 -0400 |
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.
signature.asc
Description: This is a digitally signed message part