Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] mpicc -showme:compile output (possible bug report)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-04-16 08:18:33

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 wrote:
> 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 include directories. As OpenMPI's mpicc (OpenMPI
> compiled from source on a Slackware Linux 12.0 installation) is not
> printing alike flags, CMake is unable to utilize OpenMPI. So, I'm
> wondering would it be possible to change OpenMPI to dump the path to
> the directory where mpi.h installed in an "-I" flag, when mpicc
> -showme:compile command run?
> Thanks.
> _______________________________________________
> users mailing list
> users_at_[hidden]

Jeff Squyres
Cisco Systems