mirror of
https://github.com/LCPQ/quantum_package
synced 2024-10-19 22:41:48 +02:00
Changed default for distributed_davidson
This commit is contained in:
parent
57f2a5597a
commit
1581ccf70a
4
configure
vendored
4
configure
vendored
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user