Advanced Multi-Physics (AMP)
On-Line Documentation
AMP configure options

This page provides a list of the different compile options for AMP. AMP is configured using cmake and the order of the options for cmake does not matter.

AMP external package options
AMP is designed to leverage a number of external packages. While most external packages are optional, some functionality will be lost if compiling without a given package. All external packages can be built through the TPL builder. The required and optional packages can be specified with the TPL_LIST_REQUIRED and TPL_LIST_OPTIONAL flags. By default only STACKTRACE is required and all other external packages are optional. If a package is not specified by either flag (or the default) then it is not included. The current list of external packages is:
MPI: MPI provides parallel capabilities for AMP. If used, there are a number of additional optional flags that are used to configure MPI:
    "-D USE_MPI_FOR_SERIAL_TESTS=" indicates that we want to use mpi to run the serial tests in ctest. Default is false.
    "-D MPIEXEC_NUMPROC_FLAG:STRING=" the flag to specify the flag mpi uses to specify the number of processors. Default is "-np"
LAPACK/BLAS: Lapack/Blas libraries that are used by many external packages.
TRILINOS: Trilinos is used throughout AMP to provide additional functionality. It is used but not required within LinearAlgebra, Operators and Solvers. Compiling without Trilinos will result in reduced functionality.
PETSC: Petsc is used throughout AMP to provide additional functionality. It is used but not required within LinearAlgebra, Operators and Solvers. Compiling without Petsc will result in reduced functionality.
LIBMESH: LibMesh is required for the Operators package. It is currently used within Mesh for additional functionality.
SUNDIALS:
HYPRE:
SILO:
HDF5:
NETCDF:
Additional compile flags
"-D COMPILE_MODE=": Required string indicating if we are building in "debug" or "optimized mode".
"-D AMP_DATA=": Required path to the amp data directory.
"-D CMAKE_C_COMPILER=" Optional flag indicating the C compiler to use.
"-D CMAKE_CXX_COMPILER=" Optional flag indicating the CXX compiler to use.
"-D CMAKE_Fortran_COMPILER=" Optional flag indicating the Fortran compiler to use.
"-D CFLAGS=" Optional flag indicating additional flags to pass to the C compiler
"-D CXXFLAGS=" Optional flag indicating additional flags to pass to the CXX compiler
"-D FFLAGS=" Optional flag indicating additional flags to pass to the fortran compiler
"-D LDLIBS=" Optional flag indicating additional flags to pass to the linker
"-D TEST_MAX_PROCS=" Optional flag indicating the maximum number of processors for the tests (default: 32)
"-D USE_STATIC=" Optional flag indicating if we are only using static libraries (default: false)
"-D USE_FORTRAN=" Optional flag indicating if we want to include the fortran compiler (default: true)



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page