On Mon, Sep 8, 2008 at 5:28 PM, Robert Kubrick <[EMAIL PROTECTED]> 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 swit
On Sep 8, 2008, at 5:50 PM, Alexander Neundorf wrote:
On Monday 08 September 2008, Robert Kubrick 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 ab
On Monday 08 September 2008, Robert Kubrick 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=mpi
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, 20
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
___
Nope. I removed the force compiler lines from CMakeLists.txt and set
CXX to mpicxx but the Makefile invokes g++.
On Sep 8, 2008, at 5:08 PM, Alexander Neundorf wrote:
On Monday 08 September 2008, Robert Kubrick wrote:
I'm having some problems with the MPI module:
#
# MPI
#
FIND_PACKAGE(MPI
On Monday 08 September 2008, Robert Kubrick wrote:
> I'm having some problems with the MPI module:
>
> #
> # MPI
> #
> FIND_PACKAGE(MPI REQUIRED)
> INCLUDE(CMakeForceCompiler)
> CMAKE_FORCE_CXX_COMPILER(mpicxx "MPI C++ Compiler")
>
> The code above works. It invokes the mpicc wrapper to compile my
I'm having some problems with the MPI module:
#
# MPI
#
FIND_PACKAGE(MPI REQUIRED)
INCLUDE(CMakeForceCompiler)
CMAKE_FORCE_CXX_COMPILER(mpicxx "MPI C++ Compiler")
The code above works. It invokes the mpicc wrapper to compile my MPI
project. However I figured there must be a simpler way to run