From a20dfdee69d58022f75f4816ad333d91be0c516d Mon Sep 17 00:00:00 2001 From: eginer Date: Wed, 30 Jan 2019 11:43:36 +0100 Subject: [PATCH] changed the configure to add new functionals --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 3f532061..6e553f5e 100755 --- a/configure +++ b/configure @@ -442,7 +442,14 @@ else echo "See ./configure --help for more details." echo "" fi - + +# Check if the module to create new DFT functionals exists or not +if [[ ! -d ${QP_ROOT}/src/new_functionals ]] ; then + echo "${QP_ROOT}/src/new_functionals does NOT exists !!" + echo "Creating a new one ..." + cp -r ${QP_ROOT}/scripts/functionals/do_not_touch_func ${QP_ROOT}/src/new_functionals +fi + exit 0