[Trilinos-Users] Trying to install basic Trilinos

Heroux, Michael A maherou at sandia.gov
Fri Feb 25 06:45:16 MST 2011


Peter,

It appears that you are trying to build in the source directories, which is not permitted.  If you add the following line to your script:

-D CMAKE_INSTALL_PREFIX:PATH=$TRILINOS_HOME/ALTIX4700_BUILD \

 or something similar, you should get past this issue.

I hope this helps.

Mike

On 2/25/11 7:37 AM, "Raeth, Peter" <PRaeth at hpti.com> wrote:

In an effort to help users transition from shared to distributed-memory machines, I am trying to install Trilinos on  http://www.afrl.hpc.mil/hardware/hawk.php. This is my first experience with Trilinos.

Reading the installation guide at http://trilinos.sandia.gov/Trilinos10CMakeQuickstart.txt, I wrote the following script:

hawk-0:/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source/ cat ./do_configure.sh

#!/bin/csh -x

setenv TRILINOS_HOME /app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source
setenv PATH /app2/comenv/ALTIX4700/pkgs/cmake-2.8.1/bin:$PATH
cd $TRILINOS_HOME/build

        cmake \
          -D CMAKE_BUILD_TYPE:STRING=DEBUG \
          -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
          -D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=ON \
          -D CMAKE_BUILD_TYPE:STRING=DEBUG \
          -D Trilinos_ENABLE_TESTS:BOOL=ON \
          -D Trilinos_ENABLE_Epetra:BOOL=ON \
          -D Trilinos_ENABLE_Triutils:BOOL=ON \
          -D Trilinos_ENABLE_Anasazi:BOOL=ON \
          -D Trilinos_ENABLE_Didasko:BOOL=ON \
          $TRILINOS_HOME

exit

hawk-0:/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source/




When I run this script I get the following error:

hawk-0:/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source/ ./do_configure.sh

setenv TRILINOS_HOME /app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source
setenv PATH /app2/comenv/ALTIX4700/pkgs/cmake-2.8.1/bin:/usr/local/krb5/bin:/usr/local/ossh/bin:/opt/pbs/default/bin:/opt/intel/idb/9.1.042/bin:/opt/intel/cc/9.1.042/bin:/opt/intel/fc/9.1.036/bin:/hafs2/praeth/bin:/hafs2/praeth/bin/linux.altix:/usr/ucb:/bin:/usr/bin:/hafs_linux.altix:/app/csiapps/base/linux.altix/bin:/app/bciapps/base/linux.altix/bin:/usr/local:/usr/bin/X11:/usr/local/bin:/opt/gnome/bin:.
cd /app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source/build
cmake -D CMAKE_BUILD_TYPE:STRING=DEBUG -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON -D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=ON -D CMAKE_BUILD_TYPE:STRING=DEBUG -D Trilinos_ENABLE_TESTS:BOOL=ON -D Trilinos_ENABLE_Epetra:BOOL=ON -D Trilinos_ENABLE_Triutils:BOOL=ON -D Trilinos_ENABLE_Anasazi:BOOL=ON -D Trilinos_ENABLE_Didasko:BOOL=ON /app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source

Configuring Trilinos build directory

CMake Error at CMakeLists.txt:15 (MESSAGE):
  Error,
  CMAKE_CURRENT_SOURCE_DIR=/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source
  ==
  CMAKE_CURRENT_BINARY_DIR=/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source
  Trilinos does not support in source builds!


-- Configuring incomplete, errors occurred!
exit

hawk-0:/app2/comenv/ALTIX4700/.unsupported/trilinos-10.6.2-Source/



Does anyone have advice?   I appreciate any insights the community can offer.


Thanks,

Peter.

Peter G. Raeth, Ph.D.
Senior Staff Scientist
Signal and Image Processing
High Performance Technologies, Inc
937-904-5147
praeth at hpti.com


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


More information about the Trilinos-Users mailing list