[CMake] MPI Module

Doug Gregor doug.gregor at gmail.com
Mon Sep 8 20:49:21 EDT 2008


On Mon, Sep 8, 2008 at 5:28 PM, Robert Kubrick <robertkubrick at gmail.com> wrote:
> I see. So you mean removing the cache files everytime I change the CXX
> variable?
> That works as far as I only use mpicxx, but if I want to run a profiled
> version of my program I should be able to set a variable to switch to mpicxx
> -mpe=mpianim without regenerating the Makefiles.

Make mpicxx your compiler, then just change the CMAKE_CXX_FLAGS to
include --mpe=mpanim (?)

  - Doug


More information about the CMake mailing list