trilino installation problem

16 views
Skip to first unread message

Chih-Che Chueh

unread,
Aug 23, 2017, 3:20:41 AM8/23/17
to dea...@googlegroups.com
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

Jean-Paul Pelteret

unread,
Aug 23, 2017, 3:38:06 AM8/23/17
to deal.II User Group
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

Chih-Che Chueh

unread,
Aug 23, 2017, 3:50:04 AM8/23/17
to dea...@googlegroups.com
Hi Jean-Paul, 

You are right. It is not matching what I expected. I am going to ask our system administrator to fix it. Thanks!

[chueh@icy build]$ cmake --version
cmake version 2.6-patch 4
[chueh@icy build]$ which cmake
/usr/bin/cmake


Sincerely,

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 dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages