/usr/share/psi/samples/mints9/input.dat is in psi4-data 1:0.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | #! A test of the basis specification. Various basis sets are specified outright and in blocks, both
#! orbital and auxiliary. Constructs libmints BasisSet objects through the constructor that calls
#! qcdb.BasisSet infrastructure. Checks that the resulting bases are of the right size and checks
#! that symmetry of the Molecule observes the basis assignment to atoms.
# cc-pvdz aug-cc-pvdz
# BASIS H 5/ 5 C 14/15 H +4/ 4 C +9/10
# RIFIT H 14/15 C 56/66 H +9/10 C +16/20
# JKFIT H 23/25 C 70/81 H +9/10 C +16/20
molecule mymol {
C 0.0 0.0 0.0
O 1.4 0.0 0.0
H_r -0.5 -0.7 0.0
H_l -0.5 0.7 0.0
}
set print 3
set basis cc-pvdz
print ' <<< uniform cc-pVDZ >>>'
wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', get_global_option('BASIS'))
compare_strings('CC-PVDZ', get_global_option('BASIS'), 'name')
compare_integers(38, wert.nbf(), 'nbf()')
compare_integers(40, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< RIFIT (default) >>>'
wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_MP2', '', 'RIFIT', get_global_option('BASIS'))
compare_integers(140, wert.nbf(), 'nbf()')
compare_integers(162, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< cc-pVDZ w/ aug-cc-pVDZ on C >>>'
basis dz_PLUS { # basis block resets BASIS to DZ_PLUS
assign cc-pvdz
assign c aug-cc-pvdz
}
wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', get_global_option('BASIS'))
compare_integers(47, wert.nbf(), 'nbf()')
compare_integers(50, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< RIFIT (default) >>>'
wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_MP2', '', 'RIFIT', get_global_option('BASIS'))
compare_integers(156, wert.nbf(), 'nbf()')
compare_integers(182, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< cc-pVDZ w/ aug-cc-pVDZ on C, H_R >>>'
basis dz_PLUSplus {
assign cc-pvdz
assign c aug-cc-pvdz
assign h_r aug-cc-pvdz
}
wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', get_global_option('BASIS'))
compare_strings('DZ_PLUSPLUS', get_global_option('BASIS'), 'name')
compare_integers(51, wert.nbf(), 'nbf()')
compare_integers(54, wert.nao(), 'nao()')
compare_strings('cs', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< RIFIT (custom: force cc-pVDZ on H, default on C, O) >>>'
df_basis_mp2 dz_PLUSplusRI {
#assign aug-cc-pvdz-ri
assign h cc-pvdz-ri
}
#wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_MP2', 'dz_plusplusri', 'RIFIT', 'dz_plusplus')
wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_MP2', get_global_option('DF_BASIS_MP2'), 'RIFIT', get_global_option('BASIS'))
compare_integers(156, wert.nbf(), 'nbf()')
compare_integers(182, wert.nao(), 'nao()')
compare_strings('cs', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< cc-pVDZ w/ aug-cc-pVDZ on C, H >>>'
basis dz_PLUSplusplus {
assign cc-pvdz
assign c aug-cc-pvdz
assign h aug-cc-pvdz
}
#wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', 'dz_plusplusplus')
wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', get_global_option('BASIS'))
compare_integers(55, wert.nbf(), 'nbf()')
compare_integers(58, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< JKFIT (default) >>>'
#wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_SCF', '', 'JKFIT', 'dz_plusplusplus')
wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_SCF', '', 'JKFIT', get_global_option('BASIS'))
compare_integers(220, wert.nbf(), 'nbf()')
compare_integers(252, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
set basis aug-cc-pvdz
print ' <<< aug-cc-pVDZ >>>'
wert = psi4.BasisSet.pyconstruct_orbital(mymol, 'BASIS', get_global_option('BASIS'))
compare_integers(64, wert.nbf(), 'nbf()')
compare_integers(68, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
print ' <<< JKFIT (default) >>>'
wert = psi4.BasisSet.pyconstruct_auxiliary(mymol, 'DF_BASIS_SCF', '', 'JKFIT', get_global_option('BASIS'))
compare_integers(236, wert.nbf(), 'nbf()')
compare_integers(272, wert.nao(), 'nao()')
compare_strings('c2v', mymol.schoenflies_symbol(), 'symm')
mymol.print_out()
molecule mymol2 {
C 0.0 0.0 0.0
O 1.4 0.0 0.0
H_r -0.5 -0.6 0.3
H_l -0.5 0.6 0.3
H_c -0.5 0.0 0.7
}
set basis dz_plusplusplus
print ' <<< cc-pVDZ w/ aug-cc-pVDZ on C, H >>>'
wert = psi4.BasisSet.pyconstruct_orbital(mymol2, 'BASIS', get_global_option('BASIS'))
compare_integers(64, wert.nbf(), 'nbf()')
compare_integers(67, wert.nao(), 'nao()')
compare_strings('cs', mymol2.schoenflies_symbol(), 'symm')
mymol2.print_out()
|