Firefighters are battling 21 blazes in western Spain, while a man in Portugal was killed while fighting wildfires.