Optimizing GPU VASP parameters for larger systems and multi-node scaling

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
karianaandrea_morenosader
Newbie
Newbie
Posts: 11
Joined: Tue Mar 11, 2025 9:41 pm

Optimizing GPU VASP parameters for larger systems and multi-node scaling

#1 Post by karianaandrea_morenosader » Thu Jul 24, 2025 9:41 pm

Hi VASP developers,

I hope you are doing well.

I have installed the GPU version of VASP, and I got a speedup of 12x for my system with 82 atoms compared to the CPU-only version. I would like to optimize some settings to fully utilize my cluster’s capabilities, especially as I plan to scale to larger systems with more atoms (100 Pt atoms).

Currently, I have access to 2 GPUs and 40 CPU cores per node, and 4 nodes in total. I am running a geometry optimization on a single node using the two GPUs, with NTASKS=2 and 16 CPUs per task. I use k-point parallelization with KPAR=2 and didn't specify NPAR (default). Given this setup, is there a way to further increase the per-node performance with the resources available? Which parameters (e.g., NCORE, NPAR, or others) should I prioritize adjusting first for benchmarking and improved scaling?

Thank you for your guidance, and happy to provide more info if needed.


christopher_sheldon1
Global Moderator
Global Moderator
Posts: 131
Joined: Mon Mar 25, 2024 1:36 pm

Re: Optimizing GPU VASP parameters for larger systems and multi-node scaling

#2 Post by christopher_sheldon1 » Mon Jul 28, 2025 7:43 am

Hi Karianaandrea,

Setting KPAR is a good start. Depending on the number of k-points you have, it may be worth increasing this further to increase savings. The other tag that you can test is NSIM, which sets the number of bands that are simultaneously optimised by the RMM-DIIS algorithm. You cannot modify NCORE to optimised CPUS when usign GPUS, as you would normally do, as this would adversely affect performance. There is more information about GPUs using VASP in the OpenACC GPU port of VASP wiki page.

Does this answer your question?

Best wishes,

Chris


Post Reply