2016-10-07 19:21:04 +02:00
|
|
|
#!/usr/bin/env bats
|
|
|
|
|
|
|
|
source $QP_ROOT/tests/bats/common.bats.sh
|
|
|
|
|
|
|
|
#=== H2O
|
|
|
|
@test "MRCC-lambda H2O cc-pVDZ" {
|
|
|
|
INPUT=h2o.ezfio
|
|
|
|
EXE=mrcc
|
|
|
|
test_exe $EXE || skip
|
|
|
|
qp_edit -c $INPUT
|
|
|
|
ezfio set_file $INPUT
|
|
|
|
ezfio set determinants threshold_generators 1.
|
|
|
|
ezfio set determinants threshold_selectors 1.
|
|
|
|
ezfio set determinants read_wf True
|
|
|
|
ezfio set mrcepa0 lambda_type 1
|
|
|
|
ezfio set mrcepa0 n_it_max_dressed_ci 3
|
|
|
|
qp_run $EXE $INPUT
|
2016-11-14 20:20:42 +01:00
|
|
|
energy="$(ezfio get mrcepa0 energy_pt2)"
|
2016-11-30 17:33:34 +01:00
|
|
|
eq $energy -76.238562192068 1.e-4
|
2016-10-07 19:21:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@test "MRCC H2O cc-pVDZ" {
|
|
|
|
INPUT=h2o.ezfio
|
|
|
|
EXE=mrcc
|
|
|
|
test_exe $EXE || skip
|
|
|
|
qp_edit -c $INPUT
|
|
|
|
ezfio set_file $INPUT
|
|
|
|
ezfio set determinants threshold_generators 1.
|
|
|
|
ezfio set determinants threshold_selectors 1.
|
|
|
|
ezfio set determinants read_wf True
|
|
|
|
ezfio set determinants read_wf True
|
|
|
|
ezfio set mrcepa0 lambda_type 0
|
|
|
|
ezfio set mrcepa0 n_it_max_dressed_ci 3
|
|
|
|
qp_run $EXE $INPUT
|
2016-11-14 20:20:42 +01:00
|
|
|
energy="$(ezfio get mrcepa0 energy_pt2)"
|
|
|
|
eq $energy -76.238527498388962 1.e-4
|
2016-10-07 19:21:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@test "MRSC2 H2O cc-pVDZ" {
|
|
|
|
INPUT=h2o.ezfio
|
|
|
|
EXE=mrsc2
|
|
|
|
test_exe $EXE || skip
|
|
|
|
qp_edit -c $INPUT
|
|
|
|
ezfio set_file $INPUT
|
|
|
|
ezfio set determinants threshold_generators 1.
|
|
|
|
ezfio set determinants threshold_selectors 1.
|
|
|
|
ezfio set determinants read_wf True
|
|
|
|
ezfio set mrcepa0 lambda_type 0
|
|
|
|
ezfio set mrcepa0 n_it_max_dressed_ci 3
|
|
|
|
qp_run $EXE $INPUT
|
2016-11-14 20:20:42 +01:00
|
|
|
energy="$(ezfio get mrcepa0 energy_pt2)"
|
|
|
|
eq $energy -76.235833732594187 1.e-4
|
2016-10-07 19:21:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@test "MRCEPA0 H2O cc-pVDZ" {
|
|
|
|
INPUT=h2o.ezfio
|
|
|
|
EXE=mrcepa0
|
|
|
|
test_exe $EXE || skip
|
|
|
|
qp_edit -c $INPUT
|
|
|
|
ezfio set_file $INPUT
|
|
|
|
ezfio set determinants threshold_generators 1.
|
|
|
|
ezfio set determinants threshold_selectors 1.
|
|
|
|
ezfio set determinants read_wf True
|
|
|
|
ezfio set mrcepa0 lambda_type 0
|
|
|
|
ezfio set mrcepa0 n_it_max_dressed_ci 3
|
|
|
|
qp_run $EXE $INPUT
|
2016-11-14 20:20:42 +01:00
|
|
|
energy="$(ezfio get mrcepa0 energy_pt2)"
|
|
|
|
eq $energy -76.2418799284763 1.e-4
|
2016-10-07 19:21:04 +02:00
|
|
|
}
|
|
|
|
|