Dan,

you can specify the installation path in your 
do-configure.sh skript to configure Trilinos.
I do it in the following way:

[...]
D=`pwd`
INSTALL_DIR=$D/trilinos/current

[...]
-D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_DIR \
[...]

Its the cmake style doing the installation, may you know the 
flag --prefix=/.../ from usual configure

Best
  Uwe

On Thu, 2012-05-24 at 16:51 -0500, Daniel Brauss wrote:
> Dear all,
> 
> 
> It looks like the three folders: lib, include, and src were being
> installed 
> in a directory outside the source tree directory.  I set the path to
> this 
> and have been able to link trilinos and install deal.ii.
> 
> 
> Thanks also to Toby and Markus for a response to 
> linking deal.ii to PETSc in the archives.
> 
> 
> Dan
> 
> 
> On Wed, May 16, 2012 at 5:54 PM, Daniel Brauss <[email protected]>
> wrote:
>         Dear all,
>         
>         I have a newbie question.  I am trying to install deal.ii with
>         trilinos.
>         I am installing trilinos 9.0.3 and deal.ii 7.0.0.  I had some
>         trouble with cmake
>         on the supercomputer that I am using, so I went to these
>         earlier versions 
>         first since they have everything I need at the moment.  
>         
>         I have done a bit of reading on installing trilinos (before
>         10.0) and it appears that I 
>         was able to install this version of trilinos in my home
>         directory on the supercomputer 
>         without any trouble (no errors were thrown).  
>         However, when linking deal.ii to this version, I get the
>         error 
>         
>         configure:10366: error: Path to Trilinos specified with
>         --with-trilinos does not point to a complete Trilinos
>         installation
>         
>         I checked that the path was correct and actually was to the
>         build directory specified in the 
>         Trilinos installation instructions.
>         However, I noticed that in the README file for the deal.ii
>         7.0.0 version, Trilinos directories lib and include 
>         are referred to: 
>         
>         
>         --------------------
>         Trilinos
>         As above, set the TRILINOS_DIR environment variable to the
>         path to an existing Trilinos installation, or use the
>         --with-trilinos=/path/to/trilinos switch of the
>         deal.II ./configure script. It should point to the path of
>         which the include and lib directories are subdirs. The
>         Trilinos installation needs to provide the same kind of
>         libraries that deal.II is configured for, i.e. if you want
>         deal.II to use shared libraries, then Trilinos needs to use
>         shared libraries as well. 
>         
>         --------------------
>         
>         
>         I do not have these directories in the Trilinos build tree (or
>         in the directory above the build - in the source).
>         I was wondering how to create these directories are created
>         ( assuming that I have successfully installed Trilinos).
>         For example, the static and dynamic libraries are located
>         throughout subdirectories in the build tree within
>         directories 
>         called "src" and "shared", respectively.  
>         
>         Is there a command to have these directories created?  Do we
>         have to build them manually?
>         
>         Please help.
>         
>         Dan Brauss
>         
>         
>          
> 
> 
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii


_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to