Trilinos is a large collection of packages with software components that can be used for scientific and engineering problems. Most of the package are released under a BSD license (and some under LGPL).
Compiling and linking against Trilinos
module load trilinos
Applications may be built against the module version of Trilinos by
using the using the compiler wrappers
ftn in the normal
way. The appropriate include files and library paths will be
inserted automatically. Trilinos is build with OpenPM enabled.
trilinos module defines the environment variable
as the root of the installation for the current programming environment.
Trilinos also provides a small number of stand-alone execuables which
are available via the standard
PATH mechanism while the module is
trilinos/12.18.1installed October 2021 (PE 21.04)
If using AMD compilers, module version
aocc/3.0.0 is required.
module trilinos/12.18.1installed January 2021
Trilinos is not available in
PrgEnv-aocc at the moment.
ForTrilinos package is not available in this version.
Packages enabled are:
Amesos, Amesos2, Anasazi, AztecOO Belos Epetra
EpretExt FEI Galeri GlobiPack Ifpack Ifpack2 Intrepid
Isorropia Kokkos Komplex Mesquite ML Moertel MueLu NOX
OptiPack Pamgen Phalanx Piro Pliris ROL RTOp Rythmos Sacado Shards
ShyLU STK STKSearch STKTopology STKUtil Stratimikos Teko Teuchos Thyra
Tpetra TrilinosCouplings Triutils Xpetra Zoltan Zoltan2
A script which has details of the relevant configuration options for Trilinos is available at the ARCHER2 Github repository. The script will build a static-only version of the libraries.
$ git clone https://github.com/ARCHER2-HPC/pe-scripts.git $ cd pe-scripts $ git checkout modules-2021-10 $ ... $ ./sh/trilinos.sh --prefix=/path/to/install/location
--prefixsets the installation location. The ellipsis
...is standing for the dependencies used to build Trilinos, which here are:
metis, parmetis, superlu, superlu-dist, scotch, mumps, glm, boost. These packages should be built as described in their corresponding pages linked in the menu on the left.
See the ARCHER2 Github repository for further details.
Note that Trilinos may take up to one hour to compile on its own, and so the compilation is best performed as a batch job.