MADRID — Brad Anderson will direct “Trans-Siberian” for Filmax, the Barcelona-based minimajor announced Tuesday.

Set on the legendary express train as it travels from China to Moscow, the dark thriller is Anderson’s second teaming with Filmax, which financed and produced his “The Machinist,” toplining Christian Bale and Jennifer Jason Leigh.

Pic will be sold internationally by Filmax’s overseas sales division, Filmax Intl., and fully financed by Filmax.

“Trans-Siberian” follows an American couple who board the train, make the acquaintance of a Russian police inspector on the trail of the killers of a drug dealer and are gradually immersed in Anderson’s hallmark world of enclosed spaces, deception, grimy moral motives and murder.

English-language pic will shoot in Spain and Eastern Europe and be produced by Filmax chairman Julio Fernandez.

It is set to roll in late October with an international cast, which will determine its final budget and be announced shortly.

Anderson is currently scouting locations for the pic in Eastern Europe, said Filmax sources.

“The Machinist” preemed at the Sundance Film Festival in 2004 and was picked up for domestic distribution by Paramount Classics.

“Trans-Siberian” will be presented to international buyers at next month’s Cannes Film Festival.

Anderson’s credits include “Session 9” and “Next Stop Wonderland.”