Difference between revisions of "ALPS2 cmake options"

From ALPS
Jump to: navigation, search
(Add ALPS_BUILD_FORTRAN for TEBD.)
(Add comment on Fortran with OpenMP.)
Line 32: Line 32:
 
|VISTRAILS_APP_DIR      ||  || Path to the VisTrails installation.
 
|VISTRAILS_APP_DIR      ||  || Path to the VisTrails installation.
 
|}
 
|}
 +
 +
If you set both ALPS_BUILD_FORTRAN and ALPS_ENABLE_OPENMP "ON", you should also set ALPS_Fortran_FLAGS to enable OpenMP on Fortran compiler.
  
 
All other options should be considered advanced options. For further information on these options please write to the Mailinglist.
 
All other options should be considered advanced options. For further information on these options please write to the Mailinglist.

Revision as of 04:10, 29 November 2010

The following list shows the most important cmake options for an ALPS 2 installation from source.

Name Default Description
ALPS_BUILD_APPLICATIONS ON Build the ALPS applications.
ALPS_BUILD_EXAMPLES ON Build ALPS examples.
ALPS_BUILD_PYTHON ON Build ALPS python extentions.
ALPS_BUILD_TESTS ON Build ALPS tests.
ALPS_BUILD_FORTRAN OFF Build ALPS Fortran Binaries (currently TEBD).
ALPS_ENABLE_MPI ON Enable MPI parallelization in ALPS.
ALPS_ENABLE_OPENMP OFF Enable OpenMP parallelization in ALPS.
BUILD_SHARED_LIBS ON Build the ALPS shared libraries.
Boost_ROOT_DIR Path to the source of the Boost libraries.
CMAKE_INSTALL_PREFIX Installation path prefix. (e.g. /opt/boost)
PYTHON_INTERPRETER Path to the python interpreter to use.
ALPS_INSTALL_VISTRAILS_PACKAGES OFF Install the ALPS VisTrails extensions.
VISTRAILS_APP_DIR Path to the VisTrails installation.

If you set both ALPS_BUILD_FORTRAN and ALPS_ENABLE_OPENMP "ON", you should also set ALPS_Fortran_FLAGS to enable OpenMP on Fortran compiler.

All other options should be considered advanced options. For further information on these options please write to the Mailinglist.