Error installing trilinos

103 views
Skip to first unread message

Joaquin

unread,
Sep 20, 2015, 9:37:16 PM9/20/15
to deal.II User Group
Hi,

I obtained a message error when I try to install TRILINOS following the instructions on page
        https://www.dealii.org/developer/external-libs/trilinos.html

I introduced:

jomivalen@Nalia ~/thesis/trilinos-12.2.1/build $ cmake \-D Trilinos_ENABLE_Sacado=ON \-D Trilinos_ENABLE_MueLu:BOOL=ON -D Trilinos_ENABLE_Stratimikos=ON -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_CXX_FLAGS="-g -O3" -D CMAKE_C_FLAGS="-g -O3" -D CMAKE_FORTRAN_FLAGS="-g -O5" -D Trilinos_EXTRA_LINK_FLAGS="-lgfortran" -D CMAKE_VERBOSE_MAKEFILE=FALSE -D Trilinos_VERBOSE_CONFIGURE=FALSE -D TPL_ENABLE_MPI=ON -D BUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/home/jomivalen/cfem/trilinos \..


Could anyone help me please?



Linking CXX shared library libmuelu-interface.so
[ 99%] Built target muelu-interface
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Utils/MueLu_Utilities.cpp.o
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Utils/MueLu_Monitor.cpp.o
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Utils/MueLu_MutuallyExclusiveTime.cpp.o
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Smoothers/MueLu_IfpackSmoother.cpp.o
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Smoothers/MueLu_AmesosSmoother.cpp.o
Linking CXX shared library libmuelu.so
[100%] Built target muelu
Linking CXX shared library libmuelu-adapters.so
[100%] Built target muelu-adapters
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/include/Trilinos_version.h
CMake Error at cmake_install.cmake:36 (FILE):
  file INSTALL cannot copy file
  "/home/jomivalen/thesis/trilinos-12.2.1/build/./Trilinos_version.h" to
  "/usr/local/include/Trilinos_version.h".


make: *** [install] Error 1


Wolfgang Bangerth

unread,
Sep 20, 2015, 9:55:22 PM9/20/15
to dea...@googlegroups.com
On 09/20/2015 08:37 PM, Joaquin wrote:
> Hi,
>
> I obtained a message error when I try to install TRILINOS following the
> instructions on page
> https://www.dealii.org/developer/external-libs/trilinos.html
>
> I introduced:
>
> jomivalen@Nalia ~/thesis/trilinos-12.2.1/build $ cmake \-D
> Trilinos_ENABLE_Sacado=ON \-D Trilinos_ENABLE_MueLu:BOOL=ON -D
> Trilinos_ENABLE_Stratimikos=ON -D CMAKE_BUILD_TYPE=RELEASE -D
> CMAKE_CXX_FLAGS="-g -O3" -D CMAKE_C_FLAGS="-g -O3" -D CMAKE_FORTRAN_FLAGS="-g
> -O5" -D Trilinos_EXTRA_LINK_FLAGS="-lgfortran" -D CMAKE_VERBOSE_MAKEFILE=FALSE
> -D Trilinos_VERBOSE_CONFIGURE=FALSE -D TPL_ENABLE_MPI=ON -D
> BUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/home/jomivalen/cfem/trilinos \..

You don't need all of these backslashes here (and in fact they seem to confuse
cmake). On the page you reference, they indicate that the command line
continues on the next line. You can copy paste them if you follow each of them
with a newline, but you can't copy everything up to and including the
backslash, and then immediately continue pasting the next command line.

Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/

Joaquin M Valencia Bravo

unread,
Sep 23, 2015, 9:52:25 AM9/23/15
to dea...@googlegroups.com
Thank you for your quick response, it helped me alot.

Best,
Joaquín

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/-Ek1l49jLLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Joaquin Valencia
Graduate Student
Reply all
Reply to author
Forward
0 new messages