Skip to content

RuntimeWarning: invalid value encountered in divide in adapol #6

Description

@InaPark93

Report a runtime warning message to have a look:
DFT+DMFT calculation for 5-orbital system with XCA BlockSparseSolver


~/git/xca/triqs/install/lib/python3.11/site-packages/adapol/fit_utils_dlr.py:230: RuntimeWarning: invalid value encountered in divide
  grad = np.real((M2.T @ residue) * weights_reshape.conj()) / error[ None,:]
...

out:

   AtomDiagReal: dim 1024 with 1 subspaces dims [1024] freq [1] E min/max +0.00E+00/+1.51E+02
   Adapol: Fit error = 8.91E-07 < tol_adapol = 1.00E-05, N_poles = 13
   iter = 1, diff_G = 8.57E-01, Z-1 = -6.41E-02, eta = 2.73E+00
...

Please let me know if there's any more information needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions