Initial-boundary value problem for the Landau-Lifshitz system (I) ——Existence and partial regularity