Localise pyridine

This commit is contained in:
Mickaël Véril 2020-12-05 15:04:11 +01:00
parent 8ec67ddc19
commit 54eecb1fbc
3 changed files with 57 additions and 0 deletions

27
pyridine/cc-pvdz/localize.sh Executable file
View File

@ -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

View File

@ -0,0 +1,13 @@
11
C 0.00000000 0.00000000 -1.40999871
C 0.00000000 1.19326807 -0.69888376
C 0.00000000 -1.19326807 -0.69888376
C 0.00000000 1.13984027 0.69147391
C 0.00000000 -1.13984027 0.69147391
N 0.00000000 0.00000000 1.39056622
H 0.00000000 0.00000000 -2.49052765
H 0.00000000 2.14723447 -1.20454197
H 0.00000000 -2.14723447 -1.20454197
H 0.00000000 2.05352021 1.27183288
H 0.00000000 -2.05352021 1.27183288

17
pyridine/cc-pvdz/run_loc.sh Executable file
View File

@ -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