Both are wonderful. I thought the movie was an excellent adaptation of the book.
But I am glad I read the book first, I got much more out of it - it goes a lot more in depth into the science and engineering challenges that occur throughout. Which I appreciated. I'm not sure I would have read the book in the same way if I had seen the movie first.