[ Movies ] Open Question : Help me find sci-fi movie name please!?

Ok so I saw this movie some time ago but cannot recall its name It's about a giant skyscraper-sized rock in the shape of a reverse water drop ( or something like that ) that is held in the air by anti-gravity. So this rock has come from the ground and showing some strange activity. There is a puzzle that is solved ( about the current position of solar system ) on the rock and a round door is open. A group of soldiers/scientists is sent inside and later they find out that there is a godlike spirit inside that created human race long before and now plans to destroy it to create a new one because it is dissapointed by people. At the end the rock explodes and the spirit ( lightned squid-shaped ) comes out and leaves the planet and so the soldiers have succeeded to convince it not to destroy us. The end. Sure the plot was approximate as I dont recall the details. PLEASE HELP ME FIND OUT ITS NAME!