[CMake] MPI Module

Robert Kubrick robertkubrick at gmail.com
Mon Sep 8 17:28:55 EDT 2008


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.

On Sep 8, 2008, at 5:26 PM, Alexander Neundorf wrote:

> On Monday 08 September 2008, Robert Kubrick wrote:
>> Nope. I removed the force compiler lines from CMakeLists.txt and set
>> CXX to mpicxx but the Makefile invokes g++.
>
> Did you remove CMakeCache.txt, i.e. start with a fresh build tree ?
> Otherwise the compiler won't be changed.
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list