That's right. But on bad configured cluster systems you have a lot of different
mpi-compilers. I don't know what changes had have been done to the findMPI
modul. But the last version I tried wasn't satisfying.
And all you need to now are the compilers and the mpi library...
-Ursprüngliche N
2009/11/23 Alex H :
> Hello,
> I have the following command to compare two files:
> ADD_TEST(mytest ${CMAKE_COMMAND} -E compare_files file1.c file2.c)
>
> however when I run the test, then all it prints is :
> UpdateCTestConfiguration from
> :/home/herlamba/ece373/src/homeworks/hw07-herlambang/Dar
Hello,
I have the following command to compare two files:
ADD_TEST(mytest ${CMAKE_COMMAND} -E compare_files file1.c file2.c)
however when I run the test, then all it prints is :
UpdateCTestConfiguration from
:/home/herlamba/ece373/src/homeworks/hw07-herlambang/DartConfiguration.tclStart
proces
It is probably worth considering
find_package( MPI )
This will not only set the MPI compilers but also defines the mpi executable,
etc.
James
On Nov 22, 2009, at 1:36 AM, Taesoo Kwon wrote:
> I am sorry that this should be an recurring question.
> But I wasn't able to find any workin
Thank you!
It worked.
Taesoo
-
export CC=mpicc
export CXX=mpic++
rm CMakeCache.txt
cmake .
make VERBOSE=1
-
2009/11/22 "Sören Freudiger"
> Hi Taesoo
> We are also dealing with the mpicxx compiler.
> Best way (and the cmake way of doing th
http://www.cmake.org/Wiki/BuildingWinDLLI think is what you want to read.
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer D
On Sun, Nov 22, 2009 at 6:53 AM, Alex H wrote:
> If I have a .h file and I want to create a library using that .h file and
> some other file, how can I set the preprocessor definition to some FLAG?
> So far I think the way to go is the following:
> set_source_files_properties(vehicle.h PROPERTIES
Hi Taesoo
We are also dealing with the mpicxx compiler.
Best way (and the cmake way of doing that) is to change the env viariables CC
and CXX.
Because we are often switching between gxx and mpicxx, we are using bash
scripts for that purpose:
-
#!bash
export CC=/usr/bin/gcc-4.0
expo
2009/11/22 Taesoo Kwon :
> I am sorry that this should be an recurring question.
> But I wasn't able to find any working solution after hours of search.
>
> What I tried is as follows:
>
> /root/CMakeLists.txt
>
> set(CMAKE_CXX_COMPILER mpic++)
> set(CMAKE_C_COMPILER mpicc)
The CMakeLists.txt file
I am sorry that this should be an recurring question.
But I wasn't able to find any working solution after hours of search.
What I tried is as follows:
/root/CMakeLists.txt
set(CMAKE_CXX_COMPILER mpic++)
set(CMAKE_C_COMPILER mpicc)
project (taesoo_cmu)
add_subdirectory(BaseLib)
add_subdirecto
10 matches
Mail list logo