Madrid - Morocco put "great effort" to rescue the three Spanish cavers who were trapped in a deep ravine in the province of Ouarzazate, Spanish Prime Minister Mariano Rajoy said on Monday.