DFTP Break down

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
ziqi_yin
Newbie
Newbie
Posts: 2
Joined: Wed Jul 06, 2022 12:52 am

DFTP Break down

#1 Post by ziqi_yin » Sun Oct 27, 2024 2:31 am

I'm running DFTP on 280 CPUs with 1024.0GB mem. VASP stop with following error

internal error in: hamil_lrf.F at line: 815

LRF_HAMIL internal error: the vector H(1)-e(1) S(1) |phi(0)> is not |
| orthogonal to |phi(0)> (-0.126, 0.008) 0.056

I have attached my input files

Best regards,
Ziqi

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

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

Re: DFTP Break down

#2 Post by jonathan_lahnsteiner2 » Mon Oct 28, 2024 8:15 am

Dear Ziqi Yin,

This seems to be a problem in the electronic optimization algorithm. Have you already tried using a different optimization algorithm. Please try to remove the IALGO tag from your INCAR file and set ALGO = All.

All the best Jonathan


ziqi_yin
Newbie
Newbie
Posts: 2
Joined: Wed Jul 06, 2022 12:52 am

Re: DFTP Break down

#3 Post by ziqi_yin » Wed Nov 13, 2024 5:51 pm

Dear Jonathan,

I have tried to change IALGO to ALGO=All, the error disappears.

but I got a new error return when I tried to run parallel :

I set my INCAR as follows and requested 4 nodes total 112 cpus

SIGMA = 0.10000
EDIFF = 1.00e-06
EDIFFG = -1.00e-04
ENCUT = 550
ALGO = All
ADDGRID = True
GGA = PS
ISPIN = 2
PREC = Accurate
IBRION = 7
ISMEAR = 0
NSW = 1
LWAVE = .FALSE.
LCHARG = .FALSE.
LEPSILON = .TRUE.
LREAL = .False.
NPAR = 4

ERROR message :

VASP internal routines have requested a change of the k-point set.
Unfortunately, this is only possible if NPAR=number of nodes.
Please remove the tag NPAR from the INCAR file and restart the
calculation.

I have tried many different NCORE and NPAR combinations as well as IBRION = 7 or 8, only if I remove NPAR and NCORE the code runs normally. How can I run DFPT parallel?

Many thanks

Yours,
Ziqi


henrique_miranda
Global Moderator
Global Moderator
Posts: 506
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: DFTP Break down

#4 Post by henrique_miranda » Fri Nov 15, 2024 9:51 am

NPAR and NCORE are related, i.e. they control the same thing.
Because of a limitation in the implementation, NCORE/=1 cannot yet be used for DFPT calculations.
We plan to fix this in an upcoming release.

In the meantime, you can run the code without setting NCORE or NPAR in the INCAR.
This will default to band parallelism, which might not be the most efficient.
If you want to use some additional parallelism, we recommend setting k-point parallelism KPAR/=1


Post Reply