From: bangerth
+
deal.II can interface to the PETSc and
Trilinos software
@@ -51,11 +51,11 @@
you first have to install these packages and
point deal.II's
PETSc usually requires you to set the
environment variables
@@ -100,7 +100,7 @@
Installing both PETSc and deal.II together can be a bit of a
challenge. A good summary of the relevant steps can be found on
- the Frequently Asked Questions page.
About PETSc, Trilinos, and the deal.II
interfaces
- ./configure
to the
installation directories. This happens in similar ways for the two
- packages:
+ packages:
PETSc
-
+
PETSC_DIR
and PETSC_ARCH
@@ -76,7 +76,7 @@
PETSC_ARCH
environment variables but do not wish
deal.II to be configured for PETSc use, you
should specify --with-petsc=no
as a flag during
- configuration.
+ configuration.
--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
+ 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.
@@ -122,7 +122,7 @@
deal.II and its tutorial programs use several of the
Trilinos sub-packages.
@@ -206,23 +206,23 @@ make install
The above scheme works if Trilinos is installed in its own directory
and header and library files are in subdirectories of the directory
- given to --with-trilinos
. This scheme doesn't work,
+ given to --with-trilinos
. This scheme doesn't work,
however, if Trilinos has been installed as a regular package on a
system, for example into the /usr
or /opt
- directories.
+ directories.
In that case, paths to include and library files may be specified
separately using the --with-trilinos-include
- and --with-trilinos-libs
switches
+ and --with-trilinos-libs
switches
to ./configure
. Alternatively, this information can also
be passed to the configuration script by setting the environment
variables TRILINOS_INCDIR, TRILINOS_LIBDIR
.