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
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Cisco Systems

Reply via email to