Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] mpicc -showme:compile output (possible bug report)
From: Crni Gorac (cgorac_at_[hidden])
Date: 2008-04-16 07:57:24

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?