&GLOBAL
  PRINT_LEVEL LOW
  PROJECT Be_GAPW_fine_xc
  RUN_TYPE ENERGY
&END GLOBAL

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME BASIS_SET
    POTENTIAL_FILE_NAME POTENTIAL
    &MGRID
      CUTOFF 200
      NGRIDS 5
    &END MGRID
    &QS
      EPS_DEFAULT 1.0E-8
      EPS_SVD 1.E-12
      GAPW_ACCURATE_XCINT T
      METHOD GAPW
    &END QS
    &SCF
      EPS_SCF 3.0E-6
      IGNORE_CONVERGENCE_FAILURE
      MAX_SCF 3
      SCF_GUESS ATOMIC
      &OT
        ENERGY_GAP 0.001
        MINIMIZER DIIS
        PRECONDITIONER FULL_ALL
      &END OT
    &END SCF
    &XC
      &XC_FUNCTIONAL TPSS
      &END XC_FUNCTIONAL
      &XC_GRID
        FINE_GRID_FACTOR 2.0
        USE_FINER_GRID T
      &END XC_GRID
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ABC 4.0 4.0 4.0
    &END CELL
    &COORD
      Be   0.000000    0.000000    0.000000
    &END COORD
    &KIND Be
      BASIS_SET DZV-ALL-PADE
      POTENTIAL ALL
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
