Page 1 of 1

LAECHG=.TRUE. problem

Posted: Thu Nov 01, 2007 5:50 pm
by hunterdai
In VASP 4. 6 31,

As suggested in the website, I put LAECHG=.TRUE.
in the INCAR file. It runs well for some systems. But for other systems, I got some error messages like following.

What was the reason could be? How can I solve it?

Thanks

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
vasp 00000000005C90E5 Unknown Unknown Unknown
vasp 0000000000682AC1 Unknown Unknown Unknown
vasp 0000000000420A87 Unknown Unknown Unknown
vasp 000000000040612A Unknown Unknown Unknown
libc.so.6 00002ADC922445AA Unknown Unknown Unknown
vasp 000000000040606A Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
vasp 00000000005C90E5 Unknown Unknown Unknown
vasp 0000000000682AC1 Unknown Unknown Unknown
vasp 0000000000420A87 Unknown Unknown Unknown
vasp 000000000040612A Unknown Unknown Unknown
libc.so.6 00002B91948E55AA Unknown Unknown Unknown
vasp 000000000040606A Unknown Unknown Unknown

Posted: Thu Nov 01, 2007 8:10 pm
by graeme
It's most likely a memory limitation; this flag requires lots of memory. Try running the job in parallel so that it is distributed across machines with a greater total memory.

Posted: Tue Nov 20, 2007 9:51 pm
by hunterdai
I realize that it works with PAW, but not for USPP.

How can I make it work with USPP?

Thanks

Posted: Wed Nov 21, 2007 12:06 am
by graeme
I don't think that you can. The point of this flag is to write the core charges, which are well defined in the PAW (frozen core) approximation, but not in the USPP.

Posted: Fri Nov 30, 2007 6:28 pm
by hunterdai
ok, thanks so much!

Re: LAECHG=.TRUE. problem

Posted: Tue Aug 05, 2008 2:17 pm
by graeme
So you got the segfault with a small system (to avoid any memory problems) using a PAW potential? Also, check that you did a clean build of vasp. If you still have problems, you could take it up with the vasp folk -- the writing of core charges is standard in vasp now and does not involve our code.