&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME    ./BASIS_H2O
    POTENTIAL_FILE_NAME    ./POTENTIAL_H2O
    WFN_RESTART_FILE_NAME  ./H2O-64-PBE-TZ-RESTART.wfn
    &MGRID
     CUTOFF      800
     REL_CUTOFF   50
    &END MGRID
    &QS
      EPS_DEFAULT 1.0E-12
    &END QS
    &SCF
      SCF_GUESS  RESTART
      EPS_SCF    1.0E-6
      MAX_SCF    30
      &OT
        MINIMIZER       CG
        PRECONDITIONER  FULL_ALL
      &END
      &OUTER_SCF
        EPS_SCF  1.0E-6
        MAX_SCF  20
      &END
      &PRINT
        &RESTART OFF
        &END
      &END
    &END SCF
    &XC
      &XC_FUNCTIONAL PBE
      &END XC_FUNCTIONAL
      &WF_CORRELATION
        METHOD  RI_RPA_GPW
        &RI_RPA
          RPA_NUM_QUAD_POINTS    40
          &HF
            FRACTION  1.0
            &SCREENING
              EPS_SCHWARZ          1.0E-8
              SCREEN_ON_INITIAL_P  TRUE
            &END SCREENING
            &INTERACTION_POTENTIAL
              POTENTIAL_TYPE TRUNCATED
              CUTOFF_RADIUS  6.0
              T_C_G_DATA  ./t_c_g.dat
            &END
            &MEMORY
              MAX_MEMORY 0
            &END
          &END HF
        &END
        &WFC_GPW
          CUTOFF      300
          REL_CUTOFF  50
          EPS_FILTER  1.0E-12
          EPS_GRID    1.0E-8
        &END
        MEMORY    1200
        NUMBER_PROC  1
      &END
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ABC  12.42  12.42  12.42
    &END CELL
    &TOPOLOGY
       COORD_FILE_NAME   ./H2O-64.xyz
       COORD_FILE_FORMAT XYZ
    &END TOPOLOGY
    &KIND H
      BASIS_SET         cc-TZ
      RI_AUX_BASIS_SET  RI-cc-TZ
      POTENTIAL         GTH-PBE-q1
    &END KIND
    &KIND O
      BASIS_SET         cc-TZ
      RI_AUX_BASIS_SET  RI-cc-TZ
      POTENTIAL         GTH-PBE-q6
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
&GLOBAL
  PROJECT     H2O-64-RI-dRPA-TZ
  RUN_TYPE    ENERGY
  PRINT_LEVEL MEDIUM
&END GLOBAL

