From ba6028ff860b77374b4ff2db5cafdf686a6d4582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Thu, 19 Nov 2020 10:55:04 +0100 Subject: [PATCH] Start localize imidazole --- imidazole/cc-pvdz/localize.sh | 27 +++++++++++++++++++++++++++ imidazole/cc-pvdz/run_loc.sh | 17 +++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100755 imidazole/cc-pvdz/localize.sh create mode 100755 imidazole/cc-pvdz/run_loc.sh diff --git a/imidazole/cc-pvdz/localize.sh b/imidazole/cc-pvdz/localize.sh new file mode 100755 index 0000000..ea1ff3f --- /dev/null +++ b/imidazole/cc-pvdz/localize.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# localize.sh xyz basis ezfio charge multiplicity + +XYZ=$1 +BASIS=$2 +EZFIO=${3%/} +CHARGE=${4:-0} +MULT=${5:-1} + +./localize \ + -b $BASIS \ + -x $XYZ \ + -i $EZFIO \ + -c $CHARGE \ + -m $MULT \ + -o ${EZFIO}.mo \ + -s "sp" + +cp -r ${EZFIO} ${EZFIO}.localized + +source ~/tmpdir/qp2/quantum_package.rc + +qp set_file ${EZFIO}.localized +cat ${EZFIO}.mo | qp set mo_basis mo_coef + + diff --git a/imidazole/cc-pvdz/run_loc.sh b/imidazole/cc-pvdz/run_loc.sh new file mode 100755 index 0000000..f9b4918 --- /dev/null +++ b/imidazole/cc-pvdz/run_loc.sh @@ -0,0 +1,17 @@ +#!/bin/bash -x +#SBATCH -N 1 # 1 noeud +#SBATCH -n 1 # 1 processus +#SBATCH -c 36 # 36 coeurs + +INPUT=$1 +source ~/tmpdir/qp2/quantum_package.rc + +set -e + +./localize.sh ${INPUT}.ang ${QP_ROOT}/data/basis/cc-pvdz ${INPUT} +qp set_file ${INPUT}.localized +qp set determinants n_states 1 +qp set determinants read_wf False +qp set determinants s2_eig False +qp set determinants n_det_max 1e8 +qp run fci > ${INPUT}.localized.nofci.out