Didasko Logo

Welcome to the Didasko Home

Note that the primary Trilinos tutorial can now be found here.  Didasko may be retired in a future release.

Didasko, the tutorial of Trilinos, offers a quick introduction to several Trilinos packages. It contains a printable PDF document and a variety of well-commented browsable examples that illustrate how to use Trilinos. The PDF file and the examples are distributed within Trilinos; see the download page.

Didasko contains examples for the following Trilinos packages: Teuchos, Epetra, EpetraExt, TriUtils, Amesos, AztecOO, IFPACK, ML, NOX, Anasazi, Belos, TPetra.

With Didasko, you can quickly and effectively learn how to create and use distributed linear algebra objects, define PDE-like linear systems, solve them with direct and iterative solvers, defined a variety of preconditioners, and solve nonlinear systems. Didasko examples are short, easy to understand, and typically each example focuses on a well-defined topic.

In order to take advantage of Didasko, we suggest to compile Trilinos with the following flags:

--enable-epetra --enable-aztecoo --enable-amesos --enable-anasazi \
--enable-ifpack --enable-ml --enable-nox --enable-teuchos \
--enable-triutils --enable-belos

(The above flags refer only to the enabling/disabling of packages, and are typically completed by other flags, for example to specify the location of BLAS, LAPACK, MPI, etc.) Most of the required packages are enabled by default. No example can effectively run without Epetra, and most require AztecOO and Triutils and Galeri

From this web page you can:

  • Browse the source of all Didasko’s examples;
  • Check the FAQ page.


Have fun! Don’t hesitate to contact us for bugs, suggestions, or to help with the development!

If you want to cite didasko and/or the Trilinos tutorial PDF document, please use the following bibtex entry:

  author      =  {M. Sala and M. A. Heroux and D. M. Day (editors)},
  title       =  {Trilinos Tutorial},
  institution =  {Sandia National Laboratories},
  year        =  {2004},
  number      =  {SAND-2189},


Didasko, the tutorial of Trilinos, offers a quick overview of Trilinos. The reader can find a variety of examples on several Trilinos packages. Each example is documented with comments and suggestions, some in the source file itself, and some others in the PDF document. The PDF version of the tutorial can be found in the Trilinos web page, or in file TRILINOS_HOME/packages/didasko/doc/tutorial.pdf.