From ed02c317bfe5c7241ea4c2614de80c0f529b75f3 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Mon, 4 May 2015 17:26:41 +0200 Subject: [PATCH] Fix NEEDED_MODULE --- scripts/module/create_Needed_modules.sh | 6 +++++- src/NEEDED_MODULES | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/module/create_Needed_modules.sh b/scripts/module/create_Needed_modules.sh index 1158058c..44dc4baa 100755 --- a/scripts/module/create_Needed_modules.sh +++ b/scripts/module/create_Needed_modules.sh @@ -15,4 +15,8 @@ source ${QPACKAGE_ROOT}/scripts/qp_include.sh check_current_dir_is_module OUTPUT=$(module_handler.py check_dependencies $@) -echo $@ > NEEDED_CHILDREN_MODULES \ No newline at end of file + +if [[ $? -eq 0]] +then + echo $@ > NEEDED_CHILDREN_MODULES +fi \ No newline at end of file diff --git a/src/NEEDED_MODULES b/src/NEEDED_MODULES index b4c717a9..4533ccfe 100644 --- a/src/NEEDED_MODULES +++ b/src/NEEDED_MODULES @@ -1 +1 @@ -AOs Bielec_integrals Bitmask CAS_SD CID CID_SC2_selected CID_selected CIS CISD CISD_SC2_selected CISD_selected DDCI_selected Determinants Electrons Ezfio_files FCIdump Full_CI Generators_CAS Generators_full Hartree_Fock MOGuess MOs MP2 MRCC Molden MonoInts Nuclei Output Perturbation Properties Pseudo_integrals Selectors_full SingleRefMethod Utils Toto +AOs Bielec_integrals Bitmask CID CID_SC2_selected CID_selected CIS CISD CISD_selected CISD_SC2_selected Determinants Electrons Ezfio_files Full_CI Generators_full Hartree_Fock MOGuess MonoInts MOs MP2 Nuclei Output Selectors_full Utils Molden FCIdump Generators_CAS CAS_SD DDCI_selected MRCC Pseudo_integrals