KPOINTS_OPT does not offload to GPUs

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
eihernan
Newbie
Newbie
Posts: 2
Joined: Wed Aug 11, 2021 4:26 pm

KPOINTS_OPT does not offload to GPUs

#1 Post by eihernan » Thu Dec 04, 2025 8:46 pm

Hello,

When running the GPU-accelerated version of Vasp 6.5.1, I noticed my KPOINTS_OPT loop was significantly slower when using hybrid functionals. I checked the GPU utilization of these runs during the SCF loop and during the KPOINTS_OPT loop and noticed that the GPU utilization hovers around 90% during the SCF loop (good) but stays at 0 for KPOINTS_OPT, with CPU utilization increasing. I later tested a PBE run and confirmed the GPU is not used during the KPOINTS_OPT loop.

Is GPU offloading not supported for KPOINTS_OPT?

A few notes:
- KPOINTS_OPT_BATCH had no effect on the GPU utilization
- I run on the Delta (https://docs.ncsa.illinois.edu/systems/ ... index.html) GPU nodes which have up to 4 A100 gpus and 1 AMD 64 core processor. Number of GPUs does not change the fact the utilization goes to 0 during the KPOINTS_OPT step.
- Compilers are the Cray-MPICH compilers, makefile.include attached

This is my first time running KPOINTS_OPT on GPUs so I do not have "working" comparisons or other hardware to test on. In the past I had only run calculations with KPOINTS_OPT on CPUs and never noticed a performance change within the KPOINTS_OPT loop.

vasp6_kpointsopt_upload.tar

Thank you,
Erick

You do not have the required permissions to view the files attached to this post.

jonathan_lahnsteiner2
Global Moderator
Global Moderator
Posts: 300
Joined: Fri Jul 01, 2022 2:17 pm

Re: KPOINTS_OPT does not offload to GPUs

#2 Post by jonathan_lahnsteiner2 » Wed Dec 10, 2025 2:33 pm

Dear Erick,

Currently the KPOINTS_OPT is not ported to the GPU and therefore you see no GPU utilization. So you have to execute this part of your calculations on the CPU.

All the best Jonathan


eihernan
Newbie
Newbie
Posts: 2
Joined: Wed Aug 11, 2021 4:26 pm

Re: KPOINTS_OPT does not offload to GPUs

#3 Post by eihernan » Wed Dec 10, 2025 3:27 pm

Dear Jonathan,

Thank you for your response, this is good to know.

Sincerely,
Erick


Post Reply