Step 1: Download, Configure, Compile, and Install NOX

Downloading and Unpacking NOX

NOX is a package in the Trilinos Solver Framework. You will have to download the Trilinos software, configure for your machine, build the libraries, and install them into your working directories.

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.

If you have problems...

If you have problems configuring and compiling Trilinos, please report them using Bugzilla; see Reporting Bugs and Making Enhancement Requests for more information.

Moving on...

Go on to Step 2: Create concrete implementations of the NOX::Abstract classes.
Generated on Wed May 12 21:41:53 2010 for NOX by  doxygen 1.4.7