Skip to content

Variablecell does not converge #28

@mfherbst

Description

@mfherbst

The attached cif file with this script:

using DFTK
using PseudoPotentialData
using GeometryOptimization
using AtomsIO

system = load_system("AlN_mp-661_conventional.cif")
pseudopotentials = PseudoFamily("dojo.nc.sr.pbe.v0_4_1.standard.upf")
calc = DFTKCalculator(; model_kwargs = (;functionals=PBE(), pseudopotentials, symmetries=true),
                        basis_kwargs = (;  Ecut=30, kgrid=(4,4,4) ))

results = minimize_energy!(system, calc;
                           tol_forces=1.e-4, tol_virial=Inf, verbosity=2, variablecell=true, maxstep=Inf, )

does not converge. With variablecell=false it converges in 2 steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions