Page 1 of 1

Segmentation fault with empty POSCAR

Posted: Wed Aug 10, 2016 10:56 pm
by mwistey
VASP 5.4.1 crashes with a segmentation fault if the POSCAR file is empty. Normally this would be obvious, but sometimes VASP writes an empty CONTCAR, and a job continuation script then overwrites the POSCAR with the empty file. A proper message to the user would be very helpful, especially since OUTCAR misleadingly ends with this line:
INCAR:

Re: Segmentation fault with empty POSCAR

Posted: Thu Aug 25, 2016 9:57 am
by alex
Well,

since there is no calculation starting it isn't a waste of computer time...
You could also check inside your script if POSCAR's size is 0 and do en error handling.

Cheers,

alex