Manifolds with a weighted Poincare inequality