[OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-16 Thread Crni Gorac
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

Re: [OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-16 Thread Jeff Squyres
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

Re: [OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-16 Thread Crni Gorac
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

Re: [OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-16 Thread Jeff Squyres
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

Re: [OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-17 Thread Terry Frankcombe
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

Re: [OMPI users] mpicc -showme:compile output (possible bug report)

2008-04-17 Thread Crni Gorac
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