[Trilinos-Users] CMake installation

Andy Salinger agsalin at sandia.gov
Mon Nov 15 11:53:59 MST 2010


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


On Mon, 2010-11-15 at 11:36 -0700, Amir Vahid wrote:
> 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
> 
>  
> 
>  
> 
> 



More information about the Trilinos-Users mailing list