VASP 6.2 - MultiGPU node - set one rank per specific GPU

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
martin_gumbau
Newbie
Newbie
Posts: 4
Joined: Tue Nov 19, 2019 10:24 am

VASP 6.2 - MultiGPU node - set one rank per specific GPU

#1 Post by martin_gumbau » Tue Jul 27, 2021 9:08 am

I have a node with more than one GPU inside (GPU-0, GPU-1, GPU-2).
I want to tell one or more specific CPU for my calculation.
For instance:
- 1st calculation with 2 ranks on GPU-0 + GPU-3
- 2nd calculation with 1 rank on GPU-1
Are there Keywords to allow me this?



Thanks in advance.

marie-therese.huebsch
Full Member
Full Member
Posts: 212
Joined: Tue Jan 19, 2021 12:01 am

Re: VASP 6.2 - MultiGPU node - set one rank per specific GPU

#2 Post by marie-therese.huebsch » Wed Jul 28, 2021 2:50 am

Hi martin_gumbau,

There are no special VASP tags to do this, but you can use the environment variable CUDA_VISIBLE_DEVICES to specify the devices used for a particular calculation. I hope this serves as a good starting point!

Best regards,
Marie-Therese

Locked