NOX Development
Loading...
Searching...
No Matches
NOX Configuration Options

Here is a list and explanation of NOX specific configuration options. See the Trilinos User Guide for general options supported by all packages in Trilinos.

To get a complete list of all configure options supported by NOX and LOCA do the following:

$ cd $BUILD_DIR
$ rm CMakeCache.txt
$ cmake -LAH -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=ON \
$TRILINOS_HOME
NOTE: You can also just look at the text file CMakeCache.txt after
configure which gets created in the build directory and has all of the
cache variables and documentation.

Basic Options

  • NOX_ENABLE_DEBUG=ON
    • This turns on special debugging checks and output in NOX.
  • NOX_ENABLE_EXAMPLES=ON
    • Builds the example code in NOX and LOCA. Overrides the Trilinos_ENABLE_EXAMPLES configure flag for the nox package only.
  • NOX_ENABLE_TESTS=ON
    • Builds the tests in NOX and LOCA. Overrides the Trilinos_ENABLE_TESTS configure flag for the nox package only.

LAPACK-Related Options

  • NOX_ENABLE_ABSTRACT_IMPLEMENTATION_LAPACK=ON
    • Compile noxlapack library (libnoxlapack.a). Default is not to compile the library.

Epetra-Related Options

  • NOX_ENABLE_ABSTRACT_IMPLEMENTATION_EPETRA=ON
    • Compile noxepetra library (libnoxepetra.a). Default is not to compile the library unless Epetra, EpetraExt, Ifpack, and AztecOO are enabled.

Thyra-Related Options

  • NOX_ENABLE_ABSTRACT_IMPLEMENTATION_THYRA=ON
    • Compile noxthyra library (libnoxthyra.a). Default is not to compile the library unless the Thyra package is enabled.

PETSc-Related Options

  • NOX_ENABLE_ABSTRACT_IMPLEMENTATION_PETSC=ON

    • Compile noxpetsc library (libnoxpetsc.a). Default is not to compile the library.
    • Requires existing PETSc source specified by environment variables, PETSC_DIR and PETSC_ARCH

    See The PETSc Interface for more information regarding building NOX with PETSc

LOCA-Related Options

  • NOX_ENABLE_LOCA=ON
    • Compile the loca library (libloca.a). Default is to always compile the library.
    • If LAPACK support is enabled, Trilinos must be configured with Teuchos_ENABLE_COMPLEX for required complex support.
  • NOX_ENABLE_Anasazi=ON
    • Enable Anasazi eigensolver support in LOCA.
    • LOCA has a generic interface to Anasazi allowing it to compute eigenvalues/eigenvectors for any group/vector implementation.
    • Automatically enabled if the Anasazi library is enabled.
  • NOX_ENABLE_MF=ON
    • Enable Multifario support in LOCA.
    • Multifario (MF) is a multi-parameter continuation library written by Mike Henderson at IBM. Including this option allows LOCA to use MF for multi-parameter continuation.
    • The version of MF that is known to work with LOCA is available in the Trilinos3PL.
    • The multifario libraries can be specified using the TPL support. See the Trilinos CMake quickstart guide for more details on enabling third party libraries.

Developer-Related Options

  • NOX_BUILD_PRERELEASE=ON
    • Cannot be used with the distribution version of the code - only works with the development version. Compiles code that is not included in the releases but is part of the CVS repository. See NOX Developer's Guide to Prerelease Code.