&GLOBAL
  PRINT_LEVEL MEDIUM
  PROJECT H2O-hfx-periodic-ri-truncated
  RUN_TYPE ENERGY
&END GLOBAL

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    AUTO_BASIS RI_HFX SMALL  ! RI basis for HFX
    BASIS_SET_FILE_NAME GTH_BASIS_SETS
    POTENTIAL_FILE_NAME GTH_POTENTIALS
    &MGRID
      CUTOFF 300
      REL_CUTOFF 50
    &END MGRID
    &SCF
      EPS_SCF 1.0E-06
      IGNORE_CONVERGENCE_FAILURE
      MAX_SCF 5
      SCF_GUESS ATOMIC
      &OT ON
        PRECONDITIONER FULL_ALL
      &END OT
    &END SCF
    &XC
      &HF
        &INTERACTION_POTENTIAL
          CUTOFF_RADIUS 2.5
          POTENTIAL_TYPE TRUNCATED
        &END INTERACTION_POTENTIAL
        &RI
          CALC_COND_NUM T
          CUTOFF_RADIUS 1.5
          EPS_PGF_ORB 1.0E-04
        &END RI
        &SCREENING
          EPS_SCHWARZ 1.0E-05  ! affects screening in RI
          SCREEN_ON_INITIAL_P F
        &END SCREENING
      &END HF
      &XC_FUNCTIONAL NONE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ABC 5.0 5.0 5.0
    &END CELL
    &COORD
      O        -4.1351226463        5.6217295343        4.1734819049
      H        -3.6794166617        5.9133996620        3.3765746437
      H        -4.8659807993        5.0922120122        3.8367105410
      O        -1.7983928770        5.3062005829        2.0727136006
      H        -1.6607899469        5.2055648779        3.0234478427
      H        -0.9276058519        5.1612802270        1.6955450552
      O        -2.2646350383        4.0331276465        4.5923016340
      H        -3.1433583151        3.6906167747        4.3955272151
      H        -2.4411678963        4.7660987493        5.1927846386
      O        -4.0009595153        4.1282630654        2.1317813827
      H        -3.7707244776        4.7370476195        1.4220619137
      H        -3.1779329744        3.6585072483        2.3046406277
    &END COORD
    &KIND H
      BASIS_SET DZVP-GTH
      POTENTIAL GTH-PBE-q1
    &END KIND
    &KIND O
      BASIS_SET DZVP-GTH
      POTENTIAL GTH-PBE-q6
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
