“Shake, Rattle, and Roll” would be the ideal theme song for “San Andreas” (Warner Bros.), an eye-popping, ear-splitting 3-D chronicle of a California earthquake.

The “big one” — make that big ones — strikes the Golden State in this update of the star-studded disaster films of the 1970s (including 1974’s “Earthquake”).

Now it’s director Brad Peyton’s (“Cats & Dogs: The Revenge of Kitty Galore”) turn to oversee the wholesale destruction of the West Coast as the eponymous tectonic fault line splits wide open.

The result — rendered in CGI — is often thrilling, sometimes silly, and frequently preposterous — in other words, your typical summer popcorn movie.

Lawrence (Paul Giamatti), a seismology professor, has invented a detection system which he believes can predict an earthquake before it happens.

His system is put to the test in Nevada, where a previously unknown fault line is discovered. In the blink of an eye, the earth moves, and the Hoover Dam bursts, one of the film’s many spectacular disaster sequences.

Turns out Nevada has a connection to the San Andreas fault. With the help of Serena (Archie Panjabi), a dishy television reporter, Lawrence sounds the alarm from Los Angeles to San Francisco for everyone to “drop, cover and hold on.”

But first, domestic drama intrudes. Ray (Dwayne “The Rock” Johnson), a helicopter rescue pilot with the L.A. Fire Department, is suffering from empty-nest syndrome. His marriage to Emma (Carla Gugino) has failed, and their daughter, Blake (Alexandra Daddario), is leaving for college in San Francisco.

Ray has little time to fret when the first of several earthquakes strike (a “seismic swarm”), starting in the City of Angels and moving up the coast, toppling everything in its path.

An epic of destruction and catastrophe, “San Andreas” is not for the young or faint of heart. Nor is it likely to boost tourism to California anytime soon.

The film contains relentless, intense but mostly bloodless disaster-related violence and mayhem, and occasional crude language. (A-III, PG-13)