Ec/tetrazine/cc-pvdz/localize.sh

28 lines
378 B
Bash
Executable File

#!/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