&GLOBAL
  PRINT_LEVEL LOW
  PROJECT N2
  RUN_TYPE DEBUG
&END GLOBAL

&DEBUG
  CHECK_ATOM_FORCE 1 z
  DEBUG_FORCES T
  DEBUG_STRESS_TENSOR F
  DX 0.001
  STOP_ON_MISMATCH T
&END DEBUG

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME BASIS_MOLOPT_UZH
    BASIS_SET_FILE_NAME BASIS_ADMM_UZH
    POTENTIAL_FILE_NAME POTENTIAL_UZH
    &AUXILIARY_DENSITY_MATRIX_METHOD
      ADMM_PURIFICATION_METHOD NONE
      EXCH_CORRECTION_FUNC PBEX
      EXCH_SCALING_MODEL NONE
      METHOD BASIS_PROJECTION
    &END AUXILIARY_DENSITY_MATRIX_METHOD
    &ENERGY_CORRECTION
      ADMM
      DEBUG_FORCES
      ENERGY_FUNCTIONAL DCDFT
      &RESPONSE_SOLVER
        EPS 1.0E-08
        METHOD MO_SOLVER
        PRECONDITIONER FULL_SINGLE_INVERSE
      &END RESPONSE_SOLVER
      &XC
        &XC_FUNCTIONAL TPSS
        &END XC_FUNCTIONAL
      &END XC
    &END ENERGY_CORRECTION
    &MGRID
      CUTOFF 200
      REL_CUTOFF 50
    &END MGRID
    &POISSON
      PERIODIC NONE
      POISSON_SOLVER MT
    &END POISSON
    &QS
      METHOD GAPW
    &END QS
    &SCF
      EPS_SCF 1.0E-7
      MAX_SCF 100
      SCF_GUESS ATOMIC
      &OT
        LINESEARCH ADAPT
        MINIMIZER DIIS
        PRECONDITIONER FULL_ALL
      &END OT
    &END SCF
    &XC
      &HF
      &END HF
      &XC_FUNCTIONAL NONE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &PRINT
    &FORCES ON
    &END FORCES
  &END PRINT
  &SUBSYS
    &CELL
      ABC 5.0 5.0 5.0
      PERIODIC NONE
    &END CELL
    &COORD
      N     0.000000     0.000000     0.650000
      N     0.000000     0.000000    -0.650000
    &END COORD
    &KIND N
      BASIS_SET ORB DZVP-MOLOPT-GGA-GTH-q5
      BASIS_SET AUX_FIT admm-dzp-q5
      POTENTIAL GTH-GGA-q5
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
