When I try to install trilinos with Cmake, I find something strange: while I am using cmake/3.9.1, after the installation, we get the error. But in reality the version I am using is newer than 2.6.4. Does any one who faced the same problem know how to fix the problem?
[chueh@icy build]$ module load cmake/3.9.1
[chueh@icy build]$ cmake \
> -DTrilinos_ENABLE_Amesos=ON \
> -DTrilinos_ENABLE_Epetra=ON \
> -DTrilinos_ENABLE_Ifpack=ON \
> -DTrilinos_ENABLE_AztecOO=ON \
> -DTrilinos_ENABLE_Sacado=ON \
> -DTrilinos_ENABLE_Teuchos=ON \
> -DTrilinos_ENABLE_MueLu=ON \
> -DTrilinos_ENABLE_ML=ON \
> -DTrilinos_VERBOSE_CONFIGURE=OFF \
> -DTPL_ENABLE_MPI=ON \
> -DBUILD_SHARED_LIBS=ON \
> -DCMAKE_VERBOSE_MAKEFILE=OFF \
> -DCMAKE_BUILD_TYPE=RELEASE \
> -DCMAKE_INSTALL_PREFIX:PATH=/work2/chueh/deal.II_project/trilinos \
> ../
CMake Error at CMakeLists.txt:62 (CMAKE_MINIMUM_REQUIRED):
CMake 2.8.11 or higher is required. You are running version 2.6.4
-- Configuring incomplete, errors occurred!