I tried to use user-defined basis set for two-component calculations. For example,
molecule h2 {
0 1
H
H 1 r
r = 0.7414
}
set {
reference rhf
relativistic dkh
dkh_order 2
scf_type pk
}
basis {
assign H aug-cc-pVDZ-DK-def
[aug-cc-pVDZ-DK-def]
spherical
****
H 0
S 4 1.00
13.0100000 0.0196977
1.9620000 0.1379911
0.4446000 0.4781418
0.1220000 0.5012326
S 1 1.00
0.1220000 1.0000000
S 1 1.00
0.0297400 1.0000000
P 1 1.00
0.7270000 1.0000000
P 1 1.00
0.1410000 1.0000000
****
}
basis_relativistic {
assign H aug-cc-pVDZ-DK-def-d
[aug-cc-pVDZ-DK-def-d]
spherical
****
H 0
S 1 1.00
13.0100000 1.0000000
S 1 1.00
1.9620000 1.0000000
S 1 1.00
0.4446000 1.0000000
S 1 1.00
0.1220000 1.0000000
S 1 1.00
0.1220000 1.0000000
S 1 1.00
0.0297400 1.0000000
P 1 1.00
0.7270000 1.0000000
P 1 1.00
0.1410000 1.0000000
****
}
energy('hf')
I got
AttributeError: 'NoneType' object has no attribute 'lower'
Printing out the relevant lines from the Psithon --> Python processed input file:
****
"""
return basstrings
qcdb.libmintsbasisset.basishorde['_RELATIVISTIC'] = basisspec_psi4_yo___relativistic
core.set_global_option("BASIS", "_relativistic")
--> energy('hf')
!---------------------------------------------!
! !
! 'NoneType' object has no attribute 'lower' !
! !
!---------------------------------------------!
with PSI4
1.6.1
This question suggests basis_relativistic
keyword, which I have used. So how to fix this input file?
I tried another input
molecule h2 {
0 1
H
H 1 r
r = 0.7414
}
basis mb {
[aug-cc-pVDZ-DK-def]
spherical
****
H 0
S 4 1.00
13.0100000 0.0196977
1.9620000 0.1379911
0.4446000 0.4781418
0.1220000 0.5012326
S 1 1.00
0.1220000 1.0000000
S 1 1.00
0.0297400 1.0000000
P 1 1.00
0.7270000 1.0000000
P 1 1.00
0.1410000 1.0000000
****
assign H aug-cc-pVDZ-DK-def
}
basis mb2 {
[aug-cc-pVDZ-DK-def-d]
spherical
****
H 0
S 1 1.00
13.0100000 1.0000000
S 1 1.00
1.9620000 1.0000000
S 1 1.00
0.4446000 1.0000000
S 1 1.00
0.1220000 1.00000
S 1 1.00
0.1220000 1.0000000
S 1 1.00
0.0297400 1.0000000
P 1 1.00
0.7270000 1.0000000
P 1 1.00
0.1410000 1.0000000
****
assign H aug-cc-pVDZ-DK-def-d
}
set {
reference rhf
relativistic dkh
dkh_order 2
scf_type pk
basis mb
basis_relativistic mb2
}
energy('hf')
I got
----------------------------------------------------------------------------------!
! !
! ADIIS minimization failed. File a bug, and include your entire input and output !
! files. !
! !
!----------------------------------------------------------------------------------!