Hi Chih-Che, I suppose the obvious first question is what the output of the following two commands are
which cmake cmake --version and whether or not those match that expected after you've load the CMake module. Regards, Jean-Paul On Wednesday, August 23, 2017 at 9:20:41 AM UTC+2, Chih-Che Chueh wrote: > > Hi all, > > 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! > > Best, > > Chih-Che > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
