Saturday, 18 January 2020

Named If statements in VASP code

I have heard about IF, ELSE and ENDIF conditions in FORTRAN code. But what is "Named IF statement"?

I recently come across this and wondered is there any such statements in VASP Code.

In fact, there named IF statements are used in the following 6 files in 7 different positions.

elinear_response.F
elpol.F
ilinear_response.F
lr_helper.F
pead.F
wannier.F

Those IF statements can be obtained by using

grep -i ":if" *.F


No comments:

Post a Comment

Reason for the Maximum index for Augmentation-charges (SET IRDMAX)" error in OUTCAR file: VASP Calculation.

 "The Maximum index for Augmentation-charges (SET IRDMAX)" error is most-likely due to parallelization issues.  To check this, try...