[Trilinos-Users] CMake installation

Tommy Binford tbinford at gmail.com
Mon Nov 15 12:18:50 MST 2010


Amir,

Be sure that the newly installed version of cmake is on your path
before 2.6.4.  I
experienced a similar problem because my default cmake version was too old.
After installing, the old version was still on my path (I used a
different installation
path) before 2.8.2+.  Trilinos build system is telling you the version
it sees (2.6.4).

Check the cmake version from the command line to be sure.
cmake --version

Tommy Binford
-just a user-

On Mon, Nov 15, 2010 at 12:57 PM, Amir Vahid <av19 at zips.uakron.edu> wrote:
> I have already installed version 2.8.3! it gives me this error with 2.8.3.
> do you think that 2.8.2 might work?
>
>
>
> ________________________________
>
> From: Bartlett, Roscoe A [mailto:rabartl at sandia.gov]
> Sent: Monday, November 15, 2010 2:02 PM
>
> To: Amir Vahid; trilinos-users at software.sandia.gov
> Cc: Salinger, Andrew
> Subject: RE: [Trilinos-Users] CMake installation
>
>
>
> 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
>
>
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>




More information about the Trilinos-Users mailing list