VASP 6 on AMD GPUs
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
VASP 6 on AMD GPUs
Hi,
At the beginning of next year our group will get access to a new supercomputer with plenty of AMD Instinct MI250X GPUs. These are monsters with 128GB of GPU memory and I wanted to ask what is needed in order to run VASP 6 on AMD GPUs. As far as I understand OpenACC is supported on AMD Instinct GPUs, but that doesn’t necessarily mean that VASP 6 will work out of the box, right?
At the beginning of next year our group will get access to a new supercomputer with plenty of AMD Instinct MI250X GPUs. These are monsters with 128GB of GPU memory and I wanted to ask what is needed in order to run VASP 6 on AMD GPUs. As far as I understand OpenACC is supported on AMD Instinct GPUs, but that doesn’t necessarily mean that VASP 6 will work out of the box, right?
-
- Global Moderator
- Posts: 377
- Joined: Mon Sep 13, 2021 11:02 am
Re: VASP 6 on AMD GPUs
Hi,
OpenACC in VASP has been implemented and tested using NVIDIA GPUs. I guess that nobody of us has tried with other GPUs. So, we don't know if some changes in the code would need to be done for other GPUs, but actually in the code there are a few lines which seem to be specific to NVIDIA.
OpenACC in VASP has been implemented and tested using NVIDIA GPUs. I guess that nobody of us has tried with other GPUs. So, we don't know if some changes in the code would need to be done for other GPUs, but actually in the code there are a few lines which seem to be specific to NVIDIA.
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
Re: VASP 6 on AMD GPUs
Alright, I saw that the new version (6.3) includes optimizations for AMD CPUs.
Any plans to give the ACC version the same treatment for AMD GPUs?
/Daniel
Any plans to give the ACC version the same treatment for AMD GPUs?
/Daniel
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
Re: VASP 6 on AMD GPUs
Since its been almost one year since I asked this I wanted to check in if there has been any progress on making VASP run on AMD GPUs.fabien_tran1 wrote: ↑Wed Dec 29, 2021 8:13 pm Hi,
OpenACC in VASP has been implemented and tested using NVIDIA GPUs. I guess that nobody of us has tried with other GPUs. So, we don't know if some changes in the code would need to be done for other GPUs, but actually in the code there are a few lines which seem to be specific to NVIDIA.
This is very relevant since most of the new HPC clusters (Frontier, LUMI, Dardel, Adastra, etc) will/are running AMD GPUs.
-
- Global Moderator
- Posts: 377
- Joined: Mon Sep 13, 2021 11:02 am
Re: VASP 6 on AMD GPUs
Hi,
Unfortunately, porting VASP on AMD GPUs is not going to happen very soon, in particular since there is currently no OpenACC compiler that would work.
Unfortunately, porting VASP on AMD GPUs is not going to happen very soon, in particular since there is currently no OpenACC compiler that would work.
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
Re: VASP 6 on AMD GPUs
Hi,
As far as I can understand the upcoming GCC 13 release will have support for OpenACC 2.7+ as well as support for the Instinct MI200 series devices (gfx90a) such as the AMD Instinct MI250X GPUs that are used in the LUMI supercomputer. This together with AMD’s HIP will make it possible to port VASP to AMD GPUs, see for example: https://www.lumi-supercomputer.eu/prepa ... ons-to-hip
I suggest making it a priority to port VASP to AMD GPUs as current and upcoming HPC systems will use AMD GPUs. Any VASP users who feel the same should reply to this post to show their interest.
As far as I can understand the upcoming GCC 13 release will have support for OpenACC 2.7+ as well as support for the Instinct MI200 series devices (gfx90a) such as the AMD Instinct MI250X GPUs that are used in the LUMI supercomputer. This together with AMD’s HIP will make it possible to port VASP to AMD GPUs, see for example: https://www.lumi-supercomputer.eu/prepa ... ons-to-hip
I suggest making it a priority to port VASP to AMD GPUs as current and upcoming HPC systems will use AMD GPUs. Any VASP users who feel the same should reply to this post to show their interest.
-
- Global Moderator
- Posts: 12
- Joined: Wed Nov 06, 2019 8:44 am
Re: VASP 6 on AMD GPUs
Hi,
We are currently exploring several routes to support AMD GPUs.
Hopefully we will soon be able to compile and run the OpenACC port on AMD using either the Cray compiler or possibly GCC-13.
OpenACC support in these compilers might not be completely mature yet, so I do not expect things to work out-of-the-box for some time.
Another route we are exploring actively is the use of OpenMP offloading. This is still work in progress though.
We are currently exploring several routes to support AMD GPUs.
Hopefully we will soon be able to compile and run the OpenACC port on AMD using either the Cray compiler or possibly GCC-13.
OpenACC support in these compilers might not be completely mature yet, so I do not expect things to work out-of-the-box for some time.
Another route we are exploring actively is the use of OpenMP offloading. This is still work in progress though.
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
Re: VASP 6 on AMD GPUs
Ah great looking forwarded to see progress on this front!
-
- Newbie
- Posts: 38
- Joined: Sat Feb 13, 2016 4:39 pm
- License Nr.: 20-0400 5-1605
Re: VASP 6 on AMD GPUs
Has been a year now.
Any updates on supporting AMD GPUs?
Any updates on supporting AMD GPUs?
-
- Global Moderator
- Posts: 377
- Joined: Mon Sep 13, 2021 11:02 am
Re: VASP 6 on AMD GPUs
Hi,
This is still work in progress. AMD has implemented (partial) OpenMP offloading in VASP, that works with their GPUs and the Cray compiler. We plan to integrate their work in our branch, however this will take some time.
This is still work in progress. AMD has implemented (partial) OpenMP offloading in VASP, that works with their GPUs and the Cray compiler. We plan to integrate their work in our branch, however this will take some time.
-
- Newbie
- Posts: 2
- Joined: Fri Mar 15, 2024 10:35 am
Re: VASP 6 on AMD GPUs
Hello, I'm here solely to express my keen interest in porting VASP to AMD accelerators. I'm keeping my fingers crossed for the progress of the work!