Page 1 of 1

Continuation of a line in INCAR

Posted: Tue Jan 04, 2011 7:23 am
by leostorm10
Dear all,
I am doing a spin-polarised calculation with Spin-Orbit with 80 atoms in the cell. I have to set MAGMOM tag in the INCAR file. I am facing a problem that the MAGMOM tag line goes to the second line as shown :

ISPIN = 2
VOSKOWN = 1
MAGMOM = 16*0 0 0 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 /
0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 0 0 6 48*0 0 0

In the manual it is said that " If a line ends with a backslash the next line is considered as a continuation line.". But using it I am getting error :

Error reading item 'MAGMOM' from file INCAR.
Error code was IERR=0 ... . Found N= 42 data.

So can anyone suggest please what should I do.

Continuation of a line in INCAR

Posted: Wed Jan 05, 2011 7:55 pm
by forsdan
I do not understand why you need to break the line at all. Any decent text editor can write all values on one single line. Please distinguish between a displayed row break on the screen and an actual rowbreak character.

In either way you are using a regular slash in your example and not a backslash...

Cheers,
/Dan