Am using CMake build system along with an OpenMPI based project.
CMake is using mpicc's -showme:compile and -showme:link output to
build compile and link flags; however, it is expecting -showme:compile
to dump at least some "-I" flags, that it is further parsing in order
to build the list of includ
What exactly does mpicc --showme:compile output?
mpicc (and friends) typically do not output -I only for "special"
directories, such as /usr/include, because adding -I/usr/include may
subvert the compiler's normal include directory search order.
On Apr 16, 2008, at 7:57 AM, Crni Gorac wrot
On Wed, Apr 16, 2008 at 2:18 PM, Jeff Squyres wrote:
> What exactly does mpicc --showme:compile output?
>
> mpicc (and friends) typically do not output -I only for "special"
> directories, such as /usr/include, because adding -I/usr/include may
> subvert the compiler's normal include directory
On Apr 16, 2008, at 9:38 AM, Crni Gorac wrote:
mpicc (and friends) typically do not output -I only for "special"
directories, such as /usr/include, because adding -I/usr/include may
subvert the compiler's normal include directory search order.
On my machine, "mpicc -showme:compile" outputs "-p
Given that discussion, might I suggest an (untested) workaround would be
to --prefix OpenMPI into a non-standard location?
On Wed, 2008-04-16 at 13:03 -0400, Jeff Squyres wrote:
> On Apr 16, 2008, at 9:38 AM, Crni Gorac wrote:
> >> mpicc (and friends) typically do not output -I only for "special
On Thu, Apr 17, 2008 at 6:36 AM, Terry Frankcombe wrote:
> Given that discussion, might I suggest an (untested) workaround would be
> to --prefix OpenMPI into a non-standard location?
It is possible approach, but there are others - it is also possible to
provide specific CMake variable value on