Training of the main dipoles magnets in the large hadron collider toward 7 TeV operation