A C++ library for performing configuration interaction (CI) calculations.
To install this library:
-
clone the master branch, which contains the latest release
https://github.com/GQCG/ci.git --branch master --single-branch cd ci
-
perform an out-of-source cmake build:
mkdir build && cd build cmake -DINSTALLATION_PREFIX=prefix .. make && make test && sudo make install
where
prefix
is the installation prefix (defaulted to/usr/local
) you want the library to be installed at:- the library
libci.a
will be installed inprefix/ci/lib
- the header files (and cmake files, see Usage) will be installed in
prefix/ci/include
- the library
Basic usage of this library can be found in the tests
directory. If you use CMake in other projects, you can add the following CMake command to the CMakeLists.txt-file:
find_package(ci 1.2.1)
CMake then provides the commands ci_INCLUDE_DIRS
to be used in your target_include_directories
and the library ci
to be used in your target_link_libraries
.