Hi
I'm trying to run noncollinear supercell calculations, with a supercell of 96 atoms. I want to specify MAGMOM for each atom. This means I a line with 96*3 elements, and vasp doesn't seem to be able to read this, no matter if I specify it as 1 1 1 1 ... or 288*1, it only gives me
IERR=0, found 198 elements.
Am I doing something stupid or is it a known limitation?
By the way, I have no problems with cells with smaller number of atoms
Olle
Problems with long lines in INCAR
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 2
- Joined: Fri Oct 27, 2006 9:03 am
Problems with long lines in INCAR
Last edited by olle on Fri Oct 27, 2006 12:29 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 98
- Joined: Fri Apr 14, 2006 5:08 am
- Location: Suwon - Korea
Problems with long lines in INCAR
With 'elements' do you mean 'degrees of freedom'?
As far as I understand, you need to specify only one
number per atom in the MAGMOM line. So in your case:
MAGMOM = 96*1
I think it specifies the 'majority' vs. 'minority' per atom, and
not the vector moment per degree of freedom per atom.
R.
As far as I understand, you need to specify only one
number per atom in the MAGMOM line. So in your case:
MAGMOM = 96*1
I think it specifies the 'majority' vs. 'minority' per atom, and
not the vector moment per degree of freedom per atom.
R.
Last edited by lahaye on Sat Oct 28, 2006 8:15 am, edited 1 time in total.
-
- Newbie
- Posts: 2
- Joined: Fri Oct 27, 2006 9:03 am
Problems with long lines in INCAR
Yes, I do mean degrees of freedom. And no, in this case three numbers has to be specified, if not vasp won't run. For example, for a system with a single atom
MAGMOM = 1 0 0
Gives an initial moment in the x-direction. This works fine, the problem occurs when I have large supercells.
MAGMOM = 1 0 0
Gives an initial moment in the x-direction. This works fine, the problem occurs when I have large supercells.
Last edited by olle on Mon Oct 30, 2006 12:50 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 98
- Joined: Fri Apr 14, 2006 5:08 am
- Location: Suwon - Korea
Problems with long lines in INCAR
The VASP Guide seems to tell a different story.
Check the example given in:
http://cms.mpi.univie.ac.at/vasp/guide/ ... 0000000000
This system with two atoms, has
I myself have a system with 11 atoms, and I use successfully:
Rob.
Check the example given in:
http://cms.mpi.univie.ac.at/vasp/guide/ ... 0000000000
This system with two atoms, has
Code: Select all
MAGMOM = 1 -1
Code: Select all
MAGMOM = 10*2 1*1
Last edited by lahaye on Sat Nov 04, 2006 4:41 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
Problems with long lines in INCAR
to read long input lines (> than 255 characters) from INCAR, please set
#define LONGCHAR
in subroutine RDATAB (drdatab.F) (in vasp.4.lib)
and re-compile the library and the code.
then the sting length is increased to 32767 characters
#define LONGCHAR
in subroutine RDATAB (drdatab.F) (in vasp.4.lib)
and re-compile the library and the code.
then the sting length is increased to 32767 characters
Last edited by admin on Tue Nov 14, 2006 9:45 am, edited 1 time in total.