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)
2009/11/22 Taesoo Kwon taesoob...@gmail.com:
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
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 working
Nachricht-
Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag von
James C. Sutherland
Gesendet: Sonntag, 22. November 2009 23:26
An: cmake Mailing List
Betreff: Re: [CMake] How can I change the compiler?
It is probably worth considering
find_package( MPI