Tiger Woods is having an up-and-down day at the rainy Carnoustie while Rory McIlroy moves into contention.