[Trilinos-Users] Requesting Trilion source code installation
Jens Timmerman
jens.timmerman at ugent.be
Fri Aug 29 07:40:13 MDT 2014
Dear oanatesh,
On 29/08/14 14:40, oanatesh natesh wrote:
> Dear Sirs,
> I tried to install Trilions in CAELinux 2013 (Xubuntu
> 12.04) as per the methods explain in *Interfacing deal.II to
> Trilinos* http://www.dealii.org/developer/external-libs/trilinos.html
> and got the error message as follows
>
> *natesh at natesh-Vostro-A860:~/Downloads/trilinos-11.4.1-Source$ ls*
> build commonTools doc
> project-checkin-test-config.py sampleScripts
> checkin-test.py Copyright.txt LICENSE
> ProjectName.cmake sparse_checkout.sh
> cmake CTestConfig.cmake packages
> README TPLsList.cmake
> CMakeLists.txt demos PackagesList.cmake
> RELEASE_NOTES Version.cmake
> *natesh at natesh-Vostro-A860:~/Downloads/trilinos-11.4.1-Source$ cd build/*
> *natesh at natesh-Vostro-A860:~/Downloads/trilinos-11.4.1-Source/build$*
> cmake -D Trilinos_ENABLE_Sacado=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 \
> > -D CMAKE_INSTALL_PREFIX=$HOME/local
> CMake Error: The source directory
> "/home/natesh/Downloads/trilinos-11.4.1-Source/build/CMAKE_INSTALL_PREFIX=/home/natesh/local"
> does not exist.
> Specify --help for usage, or press the help button on the CMake GUI.
> *natesh at natesh-Vostro-A860:~/Downloads/trilinos-11.4.1-Source/build$
>
> *So I request you to seeking your guidances for solving
> this problem.
>
I believe CMake takes the last argument as the source directory, so it
seems it took $PWD/CMAKE_INSTALL_PREFIX=$HOME/local
because you forgot the ' ..' in your command,
The ' ..' is there to specify that the source directory is one
directory up, so '/home/natesh/Downloads/trilinos-11.4.1-Source/'
> Thanking you,
> O.A.Natesh.
>
>
>
Regards
Jens Timmerman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140829/aac76f3e/attachment.html>
More information about the Trilinos-Users
mailing list