&FORCE_EVAL
  METHOD Quickstep
  &DFT
    &QS
      METHOD AM1
      &SE
       ANALYTICAL_GRADIENTS T
      &END
    &END QS
    &SCF
      SCF_GUESS ATOMIC
    &END SCF
  &END DFT
  &SUBSYS
    &CELL
      ABC 20.0 20.0 20.0
      PERIODIC NONE
    &END CELL
    &COORD
          O                   .00000000     .00000000     .00000000
          H                  1.05000000     .00000000     .00000000
          H                  -.26289900    1.01655502     .00000000
    &END COORD
    &COLVAR
      &DISTANCE
        ATOMS 1 2
      &END
    &END
  &END SUBSYS
&END FORCE_EVAL
&GLOBAL
  PROJECT h2o_meta
  RUN_TYPE MD
&END GLOBAL
&MOTION
  &MD
    ENSEMBLE NVE
    STEPS 100
    TIMESTEP 0.5
    TEMPERATURE 300
    TEMP_TOL 100
  &END MD
  &PRINT
   &VELOCITIES OFF
   &END
   &TRAJECTORY
   &END
  &END
  &FREE_ENERGY
    &METADYN
      DO_HILLS
      LAGRANGE
      NT_HILLS 20
      WW 1.0e-2
      TEMPERATURE 0.0
      TEMP_TOL 100.0
      &METAVAR
        LAMBDA 1.0
        MASS 10.0
        SCALE 0.07
        COLVAR 1
      &END METAVAR
      &PRINT
       &COLVAR
        &EACH
          METADYNAMICS 10
        &END
       &END COLVAR
       &HILLS
        &EACH
          METADYNAMICS 10
        &END
       &END HILLS
      &END
    &END METADYN
  &END FREE_ENERGY
&END MOTION
