Skip to content

Too expensive computational cost for the large basis set #2

@nesquik91

Description

@nesquik91

Hello!

I'm trying to use DerivOnce module but found its computational cost grows extremely large w.r.t. the basis set size.
In the case of NaCl (2.5 Ang.), the computational cost for aug-cc-pvtz basis set is quite reasonable but, when I use the aug-cc-pvqz, it never ends..
Any tips or ideas for this? (Seems like, more than 120 basis set are suffered from this problem.)
Below is what I tried.

Thank you very much!

from pyscf import gto, dft, lib
from pyxdh.DerivOnce import GradXDH, DipoleXDH, DipoleMP2
import numpy as np
np.set_printoptions(7, suppress=True, linewidth=120)

lib.num_threads(4)

mol = gto.M(
verbose = 4,
atom = '''
na 0 0 0
cl 0 0 2.5
''',
charge = 0,
spin = 0,
basis = 'aug-cc-pvqz',
max_memory = 10000,
)
mol.build()

grids = dft.Grids(mol)
grids.atom_grid = (75, 302)

scf_eng = dft.RKS(mol)
scf_eng.xc = 'b3lypg'
scf_eng.grids = grids

nc_eng = dft.RKS(mol)
nc_eng.xc = '0.8033HF - 0.0140LDA + 0.2107B88, 0.6789LYP'
nc_eng.grids = grids
config = {
'scf_eng': scf_eng,
'nc_eng': nc_eng,
'cc' : 0.3211,
'cphf_tol': 1e-12
}

dip = DipoleXDH(config)
print (dip.E_1*2.541765)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions