Actually, I think the train departs from Chamartín, and it might stop at Atocha as well.
Anyway, I would recommend to rather take a bus from the Estación Sur de Autobuses. The train connection between Madrid and Granada is not the best, there are not that many trains. The buses are fast, cheap and comfortable, and they run more frequently.