Commit 83fa7d6e authored by MIJIEUX Thomas's avatar MIJIEUX Thomas

fix fabulous-config.cmake bug

parent 9876d315
......@@ -119,9 +119,9 @@ if ((NOT FABULOUS_FOUND) AND (FABULOUS_GIVEN_BY_USER OR (NOT PKG_CONFIG_FOUND)))
find_library(FABULOUS_SHARED_LIBRARY NAMES libfabulous.so HINTS ${FABULOUS_LIBDIR})
else()
if (ENV_FABULOUS_DIR AND NOT FABULOUS_DIR)
set(FABULOUS_DIR ${ENV_FABULOUS_DIR} CACHE "Installation prefix where fabulous is installed")
set(FABULOUS_DIR "${ENV_FABULOUS_DIR}" CACHE PATH "Installation prefix where fabulous is installed")
else()
set(FABULOUS_DIR ${FABULOUS_DIR} CACHE "Installation prefix where fabulous is installed")
set(FABULOUS_DIR "${FABULOUS_DIR}" CACHE PATH "Installation prefix where fabulous is installed")
endif()
find_path(FABULOUS_INCLUDE_DIRS NAMES fabulous.h
......
......@@ -169,7 +169,7 @@ private:
_logger.notify_iteration_begin(_iteration_count, _size_krylov_space);
if (restarter && _base.get_nb_block() > 0) {
MinMaxConv = restarter.run(_hess, epsilon);
//check_arnoldi_formula(A, _base, _hess);
// check_arnoldi_formula(A, _base, _hess);
} else { //No DR, or first run of arnoldi
_base.reset();
Block<S> R0 = _base.get_W(_nbRHS);
......
......@@ -53,6 +53,7 @@ int64_t InPlaceQRFactoMGS_User(Block<S> &Q, Block<S> &R, const Matrix &A)
R.at(j, j) = norm;
if (norm == 0.0) {
#ifndef FABULOUS_IB_EXACT_BREAKDOWN_CONTINUE
Q.display();
FABULOUS_FATAL_ERROR("Rank loss in block candidate for extending the Krylov Space");
#else
FABULOUS_WARNING("Rank loss in block candidate for extending the Krylov Space");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment