shankar1729 / jdftx

JDFTx: software for joint density functional theory
http://jdftx.org
79 stars 49 forks source link

Vacuum calculation of *NO failed at electronic minimization #323

Closed Fangerrr closed 2 months ago

Fangerrr commented 2 months ago

Dear Shankar, I am trying to compute the energy of NO adsorbed on the slab(CONTCAR from VASP). However, it failed at electronic minimization with stacktrace and error log generated. However, the calculation of hydrogen adsorption on the slab with the same setting is successful! Could you please tell me what may be the cause for this? Looking forward to your reply! 2NO.zip

shankar1729 commented 2 months ago

You seem to have three nitrogens duplicated in your inputs: the last three ones after Ga in your input also show up before, but with just the x coordinate wrapped under periodic boundaries. JDFTx did not complain about this because you have core-overlap-check none, but if you turn that off, it flags the problematic positions.

This is why you end up with a crazy-large positive energy in the LCAO, and eventually the run fails with some linear algebra error likely (not seen in the outputs for some reason). I'm actually surprised that the LCAO even managed to get that far.

Your runs should likely work fine after removing the duplicated atoms.

Best, Shankar

Fangerrr commented 2 months ago

Dear Shankar,

Thanks for your professional help! The problem is solved and the job works fine now.

Regards,

Qingchao Fang