The death toll from a magnitude-6.8 earthquake that struck Morocco on Friday has risen to 2,901, local media reported.