From 1581ccf70a4c645a808f33147f916bfbbaf6e8a8 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 21 Nov 2018 12:58:20 +0100 Subject: [PATCH] Changed default for distributed_davidson --- configure | 4 ++-- src/Davidson/EZFIO.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index c08a6c34..e4c16af1 100755 --- a/configure +++ b/configure @@ -95,10 +95,10 @@ function find_python_lib() { function find_lib() { echo "int main() { return 0; }" > "${QP_ROOT}"/external/tmp.c - gcc $1 "${QP_ROOT}"/external/tmp.c -o "${QP_ROOT}"/external/tmp.exe 2> /dev/null + gcc $@ "${QP_ROOT}"/external/tmp.c -o "${QP_ROOT}"/external/tmp.exe 2> /dev/null if [[ -x "${QP_ROOT}"/external/tmp.exe ]] ; then rm "${QP_ROOT}"/external/tmp.exe "${QP_ROOT}"/external/tmp.c - echo "$1" + echo "$lib" else rm "${QP_ROOT}"/external/tmp.c echo "not_found" diff --git a/src/Davidson/EZFIO.cfg b/src/Davidson/EZFIO.cfg index 397c0e8e..af910f58 100644 --- a/src/Davidson/EZFIO.cfg +++ b/src/Davidson/EZFIO.cfg @@ -31,6 +31,6 @@ interface: ezfio,provider,ocaml [distributed_davidson] type: logical doc: If true, use the distributed algorithm -default: False +default: True interface: ezfio,provider,ocaml