The Getting Started With Trilinos page is an excellent resource for configuring and building Trilinos. Imporatant links include:
The configure command creates machine specific Makefiles for each Trilinos package including NOX and LOCA. The configure script also enables specific options in each code. NOX and LOCA specific configuration flags are given on the NOX Configuration Options page.
A typical configure script file for building nox and loca with epetra support enabled (for debian linux) is:
../configure \ --prefix=/home/rppawlo/trilinos_local \ --disable-tests \ --disable-examples \ --enable-nox --enable-nox-tests --enable-nox-examples --enable-prerelease \ --enable-nox-lapack --enable-nox-epetra \ --with-nox-epetraext \ --enable-loca \ --enable-epetra \ --enable-epetraext \ --enable-ifpack \ --enable-aztecoo \ --enable-triutils \ --enable-anasazi \ --enable-teuchos --enable-teuchos-complex \ --disable-default-packages \ --disable-python \ --with-lapack=/usr/lib/liblapack.a \ --with-blas=/usr/lib/libblas.a \ CXXFLAGS="-DMPICH_SKIP_MPICXX -g -ansi -Wall" \ CFLAGS="-g -ansi -Wall" FFLAGS="-g -ansi -Wall" \ --with-gnumake \ --enable-mpi \ --with-mpi-compilers \ --cache-file=config.cache
After Trilinos is configured and built, the headers and libraries must be installed into a working directory. This is done by typing in the top level build directory:
make install
By default, Trilinos will be installed in /usr/local. Headers are put into /usr/local/include and libraries are put into /usr/local/lib. If you prefer that it be installed in a different directory (which we strongly recommend), the directory can be specified using the --prefix=PREFIX configuration option, where PREFIX is the preferred directory.