The movie was adapted by Alvin Sargent from the 1965 novel by John Nichols , and directed by Alan J. Pakula , in his directing debut .
The film The Sterile Cuckoo was adapted from a novel written by Phil K. Dick .