[Trilinos-Users] CMake installation

Bartlett, Roscoe A rabartl at sandia.gov
Mon Nov 15 12:01:32 MST 2010


Amir,

Please upgrade to CMake of at least 2.8.2.  Go to:

    http://www.cmake.org/cmake/resources/software.html

to git the Binary files you need.

Cheers,

- Ross


From: Amir Vahid [mailto:av19 at zips.uakron.edu]
Sent: Monday, November 15, 2010 11:53 AM
To: Bartlett, Roscoe A; trilinos-users at software.sandia.gov
Cc: Salinger, Andrew
Subject: RE: [Trilinos-Users] CMake installation

I tried in and out of source build. I also installed cmake-2.8.3 on my system. however, I get the following error massage:

CMake Error at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  CMake 2.7 or higher is required.  You are running version 2.6.4


________________________________
From: Bartlett, Roscoe A [mailto:rabartl at sandia.gov]
Sent: Monday, November 15, 2010 1:55 PM
To: Amir Vahid; trilinos-users at software.sandia.gov
Subject: RE: [Trilinos-Users] CMake installation

Amir,

Don't try and in-source build.  Do an out-of-source build.

- Ross
Amir,

It looks like some small syntax problems. Try:

        EXTRA_ARGS=$@

       cmake \
         -D CMAKE_BUILD_TYPE:STRING=DEBUG \
         -D Trilinos_ENABLE_AztecOO:BOOL=ON \
         -D Trilinos_ENABLE_TESTS:BOOL=ON \
         $EXTRA_ARGS \
         /nfs/05/uak0251/trilinos-10.6.1-Source

Andy Salinger


From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Amir Vahid
Sent: Monday, November 15, 2010 11:36 AM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] CMake installation

Dear All,

I am new to trillions and I really need step-by-step installation guide. I followed the steps mentioned in:
http://trilinos.sandia.gov/Trilinos10CMakeQuickstart.txt

At the first stage, I have installed CMake binary file. The second step was basic configurations for trillions. Therefore, I went into the trillions directory (/nfs/05/uak0251/trilinos-10.6.1-Source) and then typed in:
























































        EXTRA_ARGS=$@



        cmake \

          -D CMAKE_BUILD_TYPE:STRING=DEBUG \

          -D Trilinos_ENABLE_<AztecOO>:BOOL=ON \

          -D Trilinos_ENABLE_TESTS:BOOL=ON \

          -D DART_TESTING_TIMEOUT:STRING=600 \

          $EXTRA_ARGS \

          ${/nfs/05/uak0251/trilinos-10.6.1-Source/}

I get the following error massage:
${/nfs/05/uak0251/trilions-10.6.1-Source}: bad substitution

Also, when I remove the $ signs I get the following error:

AztecOO: No such file or directory


I wonder if you could help me on this issue. Also, installation of the trillions sounds cumbersome. Is there an easier way to perform this installation?

Thanks for your helps.

Amir Vahid


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101115/bdbaba0f/attachment-0001.html 


More information about the Trilinos-Users mailing list