<P> The Spy Who Loved Me (1977) is the tenth spy film in the James Bond series, and the third to star Roger Moore as the fictional secret agent James Bond . Barbara Bach and Curt Jürgens co-star . It was directed by Lewis Gilbert and the screenplay was written by Christopher Wood and Richard Maibaum . </P> <P> The film takes its title from Ian Fleming's novel The Spy Who Loved Me, the tenth book in the James Bond series, though it does not contain any elements of the novel's plot . The storyline involves a reclusive megalomaniac named Karl Stromberg, who plans to destroy the world and create a new civilisation under the sea . Bond teams up with a Russian agent, Anya Amasova, to stop Stromberg . </P> <P> It was shot on location in Egypt (Cairo and Luxor) and Italy (Costa Smeralda, Sardinia), with underwater scenes filmed at the Bahamas (Nassau), and a new soundstage built at Pinewood Studios for a massive set which depicted the interior of a supertanker . The Spy Who Loved Me was well - received by critics . The soundtrack composed by Marvin Hamlisch also met with success . The film was nominated for three Academy Awards amid many other nominations and novelised in 1977 by Christopher Wood as James Bond, The Spy Who Loved Me . </P> <P> British and Soviet ballistic - missile submarines are mysteriously disappearing . James Bond--MI6 agent 007--is summoned to investigate . On the way to his briefing, Bond escapes an ambush by Soviet agents in Austria, killing their leader during a downhill ski chase . The plans for a highly advanced submarine tracking system are being offered in Egypt . There, he encounters Major Anya Amasova--KGB agent Triple X--his rival to recover the microfilm plans . They travel across Egypt together, encountering Jaws--a tall assassin with razor sharp steel teeth--along the way . Bond and Amasova reluctantly join forces after a truce is agreed by their respective British and Soviet superiors . They identify the person responsible for the thefts as the shipping tycoon, scientist, and anarchist Karl Stromberg . </P>

Where was the movie the spy who loved me filmed