Childhood's End, Rendezvous with Rama... my early college days reading. Then THE movie, 2001.
Let's not forget what Josephus said about these early pyramids...
"The Jews up to the Saviour's time had a cherished tradition that this Pyramid was built before the flood.
Josephus, the learned scribe, gives it as historic fact that Seth and his immediate descendants "were the inventors of that peculiar sort of wisdom which is concerned with the heavenly bodies and their order.
And that their inventions might not be lost before they were sufficiently known, upon Adam's prediction that the world was to be destroyed, they made two pillars, the one of brick, the other of stone.
They inscribed their discoveries on them both, that in case the pillar of brick should be destroyed by the flood, the pillar of stone might remain and exhibit these discoveries to mankind."
He also adds, "Now this (pillar) remains in the land of Siriad (Egypt) to this day." (Jewish Antiquities, i, 2.)
The Arabians had a corresponding tradition. In a manuscript (preserved in the Bodleian Library, and translated by Dr. Sprenger) Abou Balkhi says," ( see link )
sacred-texts.com
It might somewhat ironic if the Flood was the stimulus to build the pyramids (pillars) to preserve ancient knowledge... and that their construction might have been hydraulic, lol.