How to calculate the dielectric constant tensor and born effective charge tensor

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


Moderators: Global Moderator, Moderator

Locked
Message
Author
nigel_hew
Newbie
Newbie
Posts: 4
Joined: Wed Jun 21, 2023 3:19 pm

How to calculate the dielectric constant tensor and born effective charge tensor

#1 Post by nigel_hew » Fri Feb 09, 2024 9:41 pm

Hi admin and VASP users,

I would like to calculate the dielectric constant tensor and Born effective charge tensor with METAGGA=R2SCAN. However, I get the following error:

Code: Select all

 -----------------------------------------------------------------------------
|                                                                             |
|     EEEEEEE  RRRRRR   RRRRRR   OOOOOOO  RRRRRR      ###     ###     ###     |
|     E        R     R  R     R  O     O  R     R     ###     ###     ###     |
|     E        R     R  R     R  O     O  R     R     ###     ###     ###     |
|     EEEEE    RRRRRR   RRRRRR   O     O  RRRRRR       #       #       #      |
|     E        R   R    R   R    O     O  R   R                               |
|     E        R    R   R    R   O     O  R    R      ###     ###     ###     |
|     EEEEEEE  R     R  R     R  OOOOOOO  R     R     ###     ###     ###     |
|                                                                             |
|     You have switched on METAGGA and linear-response routines. This         |
|     combination is currently not supported. If you have selected            |
|     LOPTICS=.TRUE., VASP will continue but some matrix elements [H,r]       |
|     are neglected (you might try to use LPEAD=.TRUE. which works            |
|     irrespective of H). In all other cases, VASP will stop. SOOO            |
|     sorry...                                                                |
|                                                                             |
|       ---->  I REFUSE TO CONTINUE WITH THIS SICK JOB ... BYE!!! <----       |
|                                                                             |
 -----------------------------------------------------------------------------
Is there an alternative way to calculate this with METAGGA=R2SCAN?
Last edited by manuel_engel1 on Sun Feb 11, 2024 9:08 pm, edited 1 time in total.
Reason: Put error message into code block for enhanced readability

manuel_engel1
Global Moderator
Global Moderator
Posts: 126
Joined: Mon May 08, 2023 4:08 pm

Re: How to calculate the dielectric constant tensor and born effective charge tensor

#2 Post by manuel_engel1 » Sun Feb 11, 2024 9:27 pm

Hi,

I'm assuming you set LEPSILON. In this case, VASP uses density-functional perturbation theory which is not implemented for r2SCAN. Instead, you can use LCALCEPS which uses finite differences. This should in principle work for all density functionals.
Manuel
VASP developer

Locked