Running electric field calculations on gpu

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
jonathan_schmidt
Newbie
Newbie
Posts: 9
Joined: Sat Jun 10, 2023 1:44 pm

Running electric field calculations on gpu

#1 Post by jonathan_schmidt » Thu Sep 19, 2024 2:37 pm

Dear Vasp team,
I tried to run LCALCEPS calculations with electric field on gpu (version 6.4.2/3) and noticed that shortly after the initial DFT calculation it becomes extremely slow and gpu usage drops to zero. Is this expected?


michael_wolloch
Global Moderator
Global Moderator
Posts: 110
Joined: Tue Oct 17, 2023 10:17 am

Re: Running electric field calculations on gpu

#2 Post by michael_wolloch » Wed Sep 25, 2024 9:59 am

Dear Jonathan Schmidt,

I am sorry for the late reply.

I quickly checked the source code, and it seems that most routines used to determine the response to finite electric fields are indeed not yet ported to GPU. So it is to be expected that GPU load drops.

If you want to make sure that nothing else goes wrong, please post a minimal reproducible example according to our forum guidelines!

Cheers, Michael


jonathan_schmidt
Newbie
Newbie
Posts: 9
Joined: Sat Jun 10, 2023 1:44 pm

Re: Running electric field calculations on gpu

#3 Post by jonathan_schmidt » Fri Oct 25, 2024 4:10 pm

thank you for the reply. Do you know if there are any plans to port these routines?
best,
Jonathan


michael_wolloch
Global Moderator
Global Moderator
Posts: 110
Joined: Tue Oct 17, 2023 10:17 am

Re: Running electric field calculations on gpu

#4 Post by michael_wolloch » Mon Oct 28, 2024 8:42 am

Dear Jonathan,

We are constantly working to improve GPU support for the code. But at the moment the main effort is directed at enabling support on more hardware (AMD and Intel accelerators). So while some other features will get a GPU port in the near future, there is no timetable for porting these specific routines yet.

Please tell me if this answers your question and I can lock the topic,
Michael


Post Reply