|Developer(s)||Sandia National Laboratories.|
|Available in||C++ and C|
|License||Modified BSD license, GNU Lesser General Public License|
Trilinos is a collection of open source software libraries, called packages, intended to be used as building blocks for the development of scientific applications. The word "Trilinos" is Greek and conveys the idea of "a string of pearls," suggesting a number of software packages linked together by a common infrastructure. Trilinos was developed at Sandia National Laboratories from a core group of existing algorithms, and utilizes the functionality of software interfaces such as the BLAS, LAPACK, and MPI (the Message Passing Interface for distributed-memory parallel programming).  
Several supercomputing facilities provide an installed version of Trilinos for their users. These include the National Energy Research Scientific Computing Center (NERSC), Blue Waters at the National Center for Supercomputing Applications, and the Titan supercomputer at Oak Ridge National Laboratory. Cray supercomputers come with Trilinos installed as part of the Cray Scientific and Math Libraries.
Trilinos contains packages for:
- Constructing and using sparse graphs and matrices, and dense matrices and vectors.
- Iterative and direct solution of linear systems.
- Parallel multilevel and algebraic preconditioning.
- Solution of non-linear, eigenvalue and time-dependent problems.
- PDE-constrained optimization problems.
- Partitioning and load balancing of distributed data structures.
- Automatic differentiation.
- Discretizing partial differential equations.
Trilinos supports distributed-memory parallel computation through the Message Passing Interface (MPI). In addition, some Trilinos packages have growing support for shared-memory parallel computation. They do so by means of the Kokkos package in Trilinos, which provides a common C++ interface over various parallel programming models, including OpenMP, POSIX Threads, and CUDA.
Most Trilinos packages are written in C++. Trilinos currently does not require C++11 support, though some packages have an option to use C++11 features if they are available. Some Trilinos packages, like ML and Zoltan, are written in C. A few packages, like Epetra, have optional implementations of some computational kernels in Fortran, but Fortran is not required to build these packages.
Some Trilinos packages have bindings for other programming languages. These include Python, C, Fortran, and Matlab.
Each Trilinos package may have its own software license. Most packages are Open Source; most of these have a Modified BSD license, while a few packages are under the GNU Lesser General Public License (LGPL). The BLAS, and LAPACK libraries are required dependencies.
- Message Passing Interface
- List of numerical analysis software
- Sandia National Laboratories
- "The Trilinos Project". Sandia National Laboratories. Retrieved 2014-06-24.
- Heroux, Michael A.; Bartlett, Roscoe A.; Howle, Vicki E.; Hoekstra, Robert J.; Hu, Jonathan J.; Kolda, Tamara G.; Lehoucq, Richard B.; Long, Kevin R.; Pawlowski, Roger P.; Phipps, Eric T.; Salinger, Andrew G.; Thornquist, Heidi K.; Tuminaro, Ray S.; Willenbring, James M.; Williams, Alan; Stanley, Kendall S. (2005). "An overview of the Trilinos project". ACM Trans. Math. Softw. (New York, NY, USA: ACM Press) 31 (3): 397–423. doi:10.1145/1089014.1089021.
- Palen, Brock; Squyres, Jeff; Heroux, Mike; Willenbring, Jim. "RCE 49: Trilinos". Research, Computing, and Engineering (RCE) Podcast. Retrieved 24 June 2014.
- "Trilinos". National Energy Research Scientific Computing Center (NERSC). Retrieved 24 June 2014.
- "Trilinos". Blue Waters: Sustained Petascale Computing. National Center for Supercomputing Applications (NCSA). Retrieved 24 June 2014.
- "Trilinos". Oak Ridge Leadership Computing Facility. Oak Ridge National Laboratory. Retrieved 24 June 2014.
- "Cray Programming Environment User's Guide". CRAYDOC: Customer Documentation. Cray Inc. Retrieved 24 June 2014.