How do you open the door to sootopolis gym?

You must Go find Raquazza to stop Groudon and Kyogre from fighting