Skip to content

Third Party Library Configuration

Ben Bergen edited this page Mar 2, 2016 · 13 revisions

FleCSI makes use of several third-party libraries. This section documents the CMake options that are available when configuring the third-party.git project.

CMake Configuration Options

ENABLE_EXODUS [ON/OFF]
This option should be enabled to provide support for the Exodus II file format (Cubit). Selecting this option will enable other options that configure how Exodus is used (NetCDF, SZip, ZLib, and HDF5).

ENABLE_LAPACK [ON/OFF]
This option should be enabled to provide support for gradient calculations in the FleCSI Burton mesh specialization. Other features may be added in the future that will depend on Lapack.

ENABLE_METIS [ON/OFF]
This option enables METIS graph partitioner support.

ENABLE_SCOTCH [ON/OFF]
This option enables Scotch graph partitioner support.

CMAKE_INSTALL_PREFIX [path-to-install-directory]
This option must be set to a directory that is writeable by the user. The default is /usr/local.

Invoking CMake

In general, users should enable all third-party library options. To do so, from the top-level third-party directory, execute:

% mkdir build
% cd build
% cmake -DCMAKE_INSTALL_PREFIX=... -DENABLE_EXODUS=ON -DENABLE_LAPACK=ON -DENABLE_METIS=ON -DENABLE_SCOTCH=ON ..