WALTHAM – Governor Deval Patrick today declared a state of emergency for the entire state, citing the rain-driven flooding that has closed roads, shut down schools and businesses, and is forcing some to leave their homes ahead of rising water.