&GLOBAL
  PRINT_LEVEL MEDIUM
  PROJECT CH2O_gfn2_reference_cli_lone
  RUN_TYPE ENERGY_FORCE
&END GLOBAL

&FORCE_EVAL
  &DFT
    &QS
      EPS_DEFAULT 1.00E-12
      METHOD xTB
      &XTB
        GFN_TYPE TBLITE
        &TBLITE
          ACCURACY 0.5
          METHOD GFN2
          &REFERENCE_CLI
            CHECK_FORCES F
            CHECK_VIRIAL F
            EFIELD 0.0 0.0 0.0
            GRAD tblite-reference-test.grad
            JSON tblite-reference-test.json
            POST_PROCESSING molmom
            POST_PROCESSING_OUTPUT tblite-reference-test.npz
            PROGRAM_NAME /bin/false
            STOP_ON_ERROR F
            &IMPLICIT_SOLVATION
              BORN_KERNEL P16
              MODEL ALPB
              SOLUTION_STATE BAR1MOL
              SOLVENT water
            &END IMPLICIT_SOLVATION
          &END REFERENCE_CLI
        &END TBLITE
        &TBLITE_MIXER
          SOLVER GVD
        &END TBLITE_MIXER
      &END XTB
    &END QS
    &SCF
      EPS_SCF 1.e-10
      MAX_SCF 200
      SCF_GUESS MOPAC
      &MIXING
        ALPHA 0.2
        METHOD DIRECT_P_MIXING
      &END MIXING
    &END SCF
  &END DFT
  &SUBSYS
    &CELL
      ABC 20.0 20.0 20.0
      PERIODIC NONE
    &END CELL
    &COORD
      O     0.051368    0.000000    0.000000
      C     1.278612    0.000000    0.000000
      H     1.870460    0.939607    0.000000
      H     1.870460   -0.939607    0.000000
    &END COORD
  &END SUBSYS
&END FORCE_EVAL
