Haven’t seen The Martian yet. But I did read the book. It was excellent, if a bit skimpy on the psychological toll of getting stranded on Mars. What I liked most about it was its cheerleading of science. Everything Matt does to get off Mars is rooted in real science.
Good stuff. Mike-Bob says check it out.