LONDON — Jeremy Irons is set to co-star in the Edward R. Pressman/ Cinemorphic Entertainment Company production of “The Man Who Knew Infinity,” the biopic of Srinivasa Ramanujan, with Dev Patel starring as the revered Indian mathematician.

Irons will play G.H. Hardy, the English mathematician who plucked Ramanujan from obscurity in Edwardian India and installed him in Cambridge University.

The film will be directed by Matthew Brown, who also wrote the screenplay based on the biography “The Man Who Knew Infinity: A Life of the Genius Ramanujan” by Robert Kanigel.

Edward R. Pressman and Prashita Chaudhary of Cinemorphic are producers, along with Jim Young under his Animus Films banner, and Sofia Sondervan of Dutch Tilt Film.

Irons won the Academy Award for actor for his performance as Claus von Bulow in “Reversal of Fortune.” Other film credits include “The French Lieutenant’s Woman,” “The Mission” and “Dead Ringers.”

He received a Tony for his Broadway performance in Tom Stoppard’s “The Real Thing.”

Irons recent film work includes “Margin Call” with Kevin Spacey, “The Words” with Bradley Cooper, “Beautiful Creatures,” directed by Richard LaGravenese, and “Night Train to Lisbon,” directed by Bille August.

His TV credits includes the role of Pope Alexander VI in the Showtime series “The Borgias.”

Pressman said, “I am delighted to be working with Jeremy again. Our last collaboration on ‘Reversal of Fortune’ earned an Oscar for Jeremy, and I could not overstate his amazing talent. We are very fortunate to be able to add an actor of such stature to our production.”

Patel appeared in “Slumdog Millionaire” and “The Best Exotic Marigold Hotel,” and has a leading role in the Aaron Sorkin/HBO series “The Newsroom.” He recently completed filming on “Child 44” and “The Road Within.” He also stars opposite Hugh Jackman in “Chappie.”

Brown also penned “Ian Fleming,” which is based on Andrew Lycett’s biography “Ian Fleming: The Man Behind James Bond.” It begins production in 2014.

Production on “The Man Who Knew Infinity” is expected to commence on locations in the U.K. and India next year.

Pressman’s COO Jon Katz is serving as executive producer along with Tristine Skyler, Xeitgeist’s Joe Thomas, Pamela Godfrey, Mark Montgomery and Min-Li Tan. Tayyab Madni will serve as an associate producer.

Irons is repped by CAA.