Skip to content

Trilinos

Description

trilinos website

The Trilinoslinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.

Environment Modules

Run module spider trilinos to find out what environment modules are available for this application.

Environment Variables

  • HPC_TRILINOS_DIR - installation directory
  • HPC_TRILINOS_LIB - library directory
  • HPC_TRILINOS_INC - include directory

Additional Usage Information

Cmake Configuration Script

  1. Untar the source
  2. cd
  3. mkdir Build
  4. cd Build
  5. Run the configure/make script below.
#!/bin/bash
# Pull in any extra arguments given to this script.
# Treat them as extra CMake options.
EXTRA_ARGS=$@

cmake \
  -D Trilinos_ENABLE_ALL_PACKAGES=ON \
  -D BUILD_SHARED_LIBS:BOOL=ON \
  -D CMAKE_BUILD_TYPE:STRING=DEBUG \
  -D CMAKE_INSTALL_PREFIX:FILEPATH="/apps/intel/2013/openmpi/1.6.5/trilinos/11.8.1" \
  -D TPL_ENABLE_MPI:BOOL=ON \
  -D MPI_BASE_DIR="${HPC_OPENMPI_DIR}" \
  -D MPI_EXEC:FILEPATH="${HPC_OPENMPI_BIN}/mpiexec" \
  -D MPI_Fortran_COMPILER:FILEPATH="${HPC_OPENMPI_BIN}/mpif90" \
  -D MPI_CXX_COMPILER:FILEPATH="${HPC_OPENMPI_BIN}/mpicxx" \
  -D MPI_C_COMPILER:FILEPATH="${HPC_OPENMPI_BIN}/mpicc" \
  -D CMAKE_CXX_FLAGS:STRING="-ansi -pedantic -Wall" \
  -D TPL_ENABLE_MKL:BOOL=ON \
  -D MKL_LIBRARY_DIRS:FILEPATH="${HPC_MKL_LIB}" \
  -D MKL_LIBRARY_NAMES:STRING="mkl_lapack95_lp64;mkl_blas95_lp64;mkl_intel_lp64;mkl_sequential;mkl_core" \
  -D MKL_INCLUDE_DIRS:FILEPATH="${HPC_MKL_INC}" \
  -D BLAS_LIBRARY_DIRS:STRING="${HPC_MKL_LIB}" \
  -D BLAS_LIBRARY_NAMES:STRING="mkl_blas95_lp64;mkl_intel_lp64;mkl_sequential;mkl_core" \
  -D LAPACK_LIBRARY_DIRS:STRING="${HPC_MKL_LIB}" \
  -D LAPACK_LIBRARY_NAMES:STRING="mkl_lapack95_lp64;mkl_intel_lp64;mkl_sequential;mkl_core" \
  -D Trilinos_ENABLE_OpenMP:BOOL=OFF \
  -D TPL_ENABLE_Pthread:BOOL=ON \
  -D DART_TESTING_TIMEOUT:STRING=600 \
  -D Trilinos_ENABLE_TESTS:BOOL=ON \
  $EXTRA_ARGS \
  ..

Categories

math