&GLOBAL
  PROJECT  RPA_H2O_kpoints
  PRINT_LEVEL MEDIUM
  RUN_TYPE ENERGY
  &TIMINGS
     THRESHOLD 0.01
  &END
&END GLOBAL
&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME  HFX_BASIS
    SORT_BASIS EXP
    POTENTIAL_FILE_NAME  GTH_POTENTIALS
    &MGRID
      CUTOFF  100
      REL_CUTOFF  20
    &END MGRID
    &QS
      METHOD GPW
      EPS_DEFAULT 1.0E-15
      EPS_PGF_ORB 1.0E-15
    &END QS
    &SCF
      SCF_GUESS ATOMIC
      EPS_SCF 1.0E-5
      MAX_SCF 100
      &PRINT
        &RESTART OFF
        &END
      &END
      ADDED_MOS 10000000
    &END SCF
    &KPOINTS
       SCHEME  MONKHORST-PACK 1 1 4
       SYMMETRY ON
       EPS_GEO 1.e-8
       FULL_GRID ON
       VERBOSE F
       PARALLEL_GROUP_SIZE  0
    &END KPOINTS
    &XC
      &XC_FUNCTIONAL PBE
      &END XC_FUNCTIONAL
      &WF_CORRELATION
        &INTEGRALS
          SIZE_LATTICE_SUM 3
        &END INTEGRALS
        MEMORY  200.
        NUMBER_PROC  1
        &LOW_SCALING
          !MEMORY_INFO
          DO_KPOINTS
          DO_EXTRAPOLATE_KPOINTS FALSE
          MEMORY_CUT 2
        &END LOW_SCALING
        &RI_RPA
          RPA_NUM_QUAD_POINTS  6
        &END RI_RPA
      &END
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ! cell very small in x and y direction
      ABC [angstrom]  5.000   5.000  10.000
      MULTIPLE_UNIT_CELL  1 1 1
      PERIODIC Z
    &END CELL
    &KIND H
      BASIS_SET ORB        DZVP-GTH
      BASIS_SET RI_AUX RI_DZVP-GTH
      POTENTIAL        GTH-PBE-q1
    &END KIND
    &KIND O
      BASIS_SET ORB        DZVP-GTH
      BASIS_SET RI_AUX RI_DZVP-GTH
      POTENTIAL        GTH-PBE-q6
    &END KIND
    &TOPOLOGY
      MULTIPLE_UNIT_CELL  1 1 1
    &END TOPOLOGY
    &COORD
      H  0.0 -0.5 -5.5
      O  0.5  0.0  5.5
      H  0.0  0.5 -5.5
    &END COORD
  &END SUBSYS
&END FORCE_EVAL
