Enabling Unified Virtual Addressing with VASP 6.4
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 1
- Joined: Tue Nov 12, 2019 11:21 am
Enabling Unified Virtual Addressing with VASP 6.4
Is there any specific requirement in terms of CUDA drivers or flags during the compilation to be aware of?
We are using CUDA 12.3 on Linux Centos 7.
Thank you,
-
- Global Moderator
- Posts: 207
- Joined: Fri Jul 01, 2022 2:17 pm
Re: Enabling Unified Virtual Addressing with VASP 6.4
Currently this is not possible with vasp. There were no tests done about unified virtual memory
addressing and therefore there is no knowledge yet about adressing issues in this direction.
All the best Jonathan
-
- Newbie
- Posts: 9
- Joined: Sat Jun 10, 2023 1:44 pm
Re: Enabling Unified Virtual Addressing with VASP 6.4
With the new ALP system in switzerland with NVLink-C2C on the GH200 chips this would be really useful.
best,
Jonathan
-
- Global Moderator
- Posts: 207
- Joined: Fri Jul 01, 2022 2:17 pm
Re: Enabling Unified Virtual Addressing with VASP 6.4
Dear Jonathan and Sergio,
We have not done any testing of VASP with unified memory on GH200 ourselves. But if you have the kernel version 6.3+ you can try and build VASP with "-gpu=unified" which requires Heterogeneous Memory Management (HMM) enabled and in principle it should work.
So just add the line -gpu=unified to your makefile.include and recompile the whole vasp code. To check if HMM was enabled on your system I would recommend you to look at this link and follow the steps there.
Please note that even if VASP is running we can not give you any guarantee that the program will work as expected. Therefore I recommend to carefully test the code with some examples. It would be great if you could share your experience with us after trying.
All the Best
Jonathan
-
- Newbie
- Posts: 9
- Joined: Sat Jun 10, 2023 1:44 pm
Re: Enabling Unified Virtual Addressing with VASP 6.4
Thank you very much for the reply and instructions. I am a bit too busy now, but I will get back to you on this once I managed to try it.