<Tr> <Th> Budget </Th> <Td> $108 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $630.2 million </Td> </Tr> <P> The Martian is a 2015 science fiction film directed by Ridley Scott and starring Matt Damon . The screenplay by Drew Goddard is based on Andy Weir's 2011 novel The Martian about an astronaut who is mistakenly presumed dead and left behind on Mars . The film depicts his struggle to survive and others' efforts to rescue him . It also stars Jessica Chastain, Kristen Wiig, Jeff Daniels, Michael Peña, Kate Mara, Sean Bean, Sebastian Stan, Donald Glover, Aksel Hennie, and Chiwetel Ejiofor . </P> <P> The film, produced through 20th Century Fox, is a co-production of the United States and the United Kingdom . Producer Simon Kinberg began developing the film after Fox optioned the novel in March 2013, which Drew Goddard adapted into a screenplay and was initially attached to direct, but the film did not move forward . Scott replaced Goddard, and with Damon in place as the main character, production was approved . Filming began in November 2014 and lasted approximately seventy days . Twenty sets were built on a sound stage in Budapest, Hungary, one of the largest in the world . Wadi Rum in Jordan was also used as a backdrop for filming . </P>

Who played the leading role of a stranded astronaut in the 2015 film the martian