How to set which gpu card to use?

Hi, I am using Panda3d on a headless Linux machine which has 8 gpu cards.
How can I change the id of gpu card that Panda3d uses to render? The default card is the first card.