REAL_OPTLAY:internal error
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 46
- Joined: Mon Mar 13, 2006 10:34 am
REAL_OPTLAY:internal error
Dear Vasp Users and administrators.
I 'm now calculating the SCF calculation with large system with
impurity. Without impurity, the calculation is conversed but
when I replace one atom to the impurity ( in this case Ce )
it soon crash with the message before the SCF calculation.
REAL_OPTLAY: internal error (1) 2980602 2980634
What does this message means ? and how do I treat
this error ?
Sincerely.
I 'm now calculating the SCF calculation with large system with
impurity. Without impurity, the calculation is conversed but
when I replace one atom to the impurity ( in this case Ce )
it soon crash with the message before the SCF calculation.
REAL_OPTLAY: internal error (1) 2980602 2980634
What does this message means ? and how do I treat
this error ?
Sincerely.
Last edited by okuno on Mon Mar 02, 2009 1:34 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
REAL_OPTLAY:internal error
the reason for this error might be the following: please check the cutoffs of the POTCARS you join (ENMAX). If they are very different,
please
1) either use POTCARS with similar cutoffs
2) or combine them such that the element with the hightes ENMAX
is the first one (please don't forget that you will also have to re-arrange POSCAR!)
please
1) either use POTCARS with similar cutoffs
2) or combine them such that the element with the hightes ENMAX
is the first one (please don't forget that you will also have to re-arrange POSCAR!)
Last edited by admin on Mon Mar 02, 2009 12:01 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
REAL_OPTLAY:internal error
please check the cutoffs of the POTCARS you join (ENMAX). If they are very different, please
1) either use different POTCARS, with similar cutoffs
2) or combine them such that the element with the hightest ENMAX is the first one (please don't forget that you will also have to re-arrange POSCAR!)
1) either use different POTCARS, with similar cutoffs
2) or combine them such that the element with the hightest ENMAX is the first one (please don't forget that you will also have to re-arrange POSCAR!)
Last edited by admin on Mon Mar 02, 2009 12:04 pm, edited 1 time in total.
-
- Newbie
- Posts: 4
- Joined: Wed Feb 21, 2007 3:29 am
Re: REAL_OPTLAY:internal error
The discussion suggests that the error is due arrangement of POTCARs with different ENMAX.
But, I encounter similar error during an MD simulation:
"
1 T= ****** E= Infinity F= -.13846926E+04 E0= -.13841577E+04 EK= 0.19753+202 SP= 0.00E+00 SK= Infinity
bond charge predicted
REAL_OPTLAY: internal error (1) 0 4032
REAL_OPTLAY: internal error (1) 0 4032
...
"
For a 4x4x4 bcc supercell with 128 atoms of uranium (U128), VASP works well. No error.
But, it terminates with the above error for U126Vac2, obtained by removing two nearest neighbor U atoms from the U128 POSCAR.
It will be helpful to have a solution to this problem.
But, I encounter similar error during an MD simulation:
"
1 T= ****** E= Infinity F= -.13846926E+04 E0= -.13841577E+04 EK= 0.19753+202 SP= 0.00E+00 SK= Infinity
bond charge predicted
REAL_OPTLAY: internal error (1) 0 4032
REAL_OPTLAY: internal error (1) 0 4032
...
"
For a 4x4x4 bcc supercell with 128 atoms of uranium (U128), VASP works well. No error.
But, it terminates with the above error for U126Vac2, obtained by removing two nearest neighbor U atoms from the U128 POSCAR.
It will be helpful to have a solution to this problem.
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
Without seeing your specific setup it is not possible to tell whether there is an issue with the code or an error in your input. Could you tell me which exact POTCAR and which version of Vasp you are using. Please attach also the input files (INCAR, KPOINTS, POSCAR) that reproduce this issue.
Martin Schlipf
VASP developer
-
- Newbie
- Posts: 4
- Joined: Wed Feb 21, 2007 3:29 am
Re: REAL_OPTLAY:internal error
Please find attached the INCAR, KPOINTS and POSCAR files.
POTCAR: PAW_PBE U 06Sep2000.
vasp.4.6.28 (Dr. Alfe Dario version)
POTCAR: PAW_PBE U 06Sep2000.
vasp.4.6.28 (Dr. Alfe Dario version)
You do not have the required permissions to view the files attached to this post.
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
When does this error occur, during the convergence or right at the start? I could run a electronic self-consistency with the input you gave me and the current version of Vasp. Naturally, I did not run the full 8000 step MD simulation.
If the error does occur for one specific structure during the MD run, please give me exactly that structure to reproduce the issue. I need to point out that you are using an ancient version of Vasp. It may well be that your issue is already fixed in the more recent versions. So please consider upgrading your Vasp license.
If the error does occur for one specific structure during the MD run, please give me exactly that structure to reproduce the issue. I need to point out that you are using an ancient version of Vasp. It may well be that your issue is already fixed in the more recent versions. So please consider upgrading your Vasp license.
Martin Schlipf
VASP developer
-
- Newbie
- Posts: 4
- Joined: Wed Feb 21, 2007 3:29 am
Re: REAL_OPTLAY:internal error
The error occurred before proceeding to 2nd MD step after completing 1st MD step.
The error occurred for the POSCAR included in the previous post.
We have upgraded our license(active). This version of vasp is fast for our MD several order of times than the current vasp.
The error occurred for the POSCAR included in the previous post.
We have upgraded our license(active). This version of vasp is fast for our MD several order of times than the current vasp.
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
Ok, I traced the issue down to a numerical instability in the Nose update step. I will check if this can be resolved, but because it is just an instability, you can actually overcome this by adjusting the parameters of the MD simulation.
This page gives you some ideas, which parameters to tune. I don't know which of those were available in Vasp 4.6, but what work e.g. is setting SMASS = -3.
If you need to use the old version, I would recommend performing some 10 iterations with the new code and then taking the resulting CONTCAR to start. Hopefully that particular parameter space is then more stable.
This page gives you some ideas, which parameters to tune. I don't know which of those were available in Vasp 4.6, but what work e.g. is setting SMASS = -3.
If you need to use the old version, I would recommend performing some 10 iterations with the new code and then taking the resulting CONTCAR to start. Hopefully that particular parameter space is then more stable.
Martin Schlipf
VASP developer
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
Okay it turns out the numerical instability comes from your POSCAR file. Because you initialized all velocities to 0, the system starts from a point that is very different from the one you want (T = 1100K).
In the thermostat there is a step, where the next velocities are calculated based on the current velocities and the forces. But it includes higher order corrections that do not work if you start very far from the solution.
I recommend deleting the velocities from the POSCAR file. Then Vasp will automatically generate appropriate initial velocities.
In the thermostat there is a step, where the next velocities are calculated based on the current velocities and the forces. But it includes higher order corrections that do not work if you start very far from the solution.
I recommend deleting the velocities from the POSCAR file. Then Vasp will automatically generate appropriate initial velocities.
Martin Schlipf
VASP developer
-
- Newbie
- Posts: 4
- Joined: Wed Feb 21, 2007 3:29 am
Re: REAL_OPTLAY:internal error
Deleting the velocities from the POSCAR works. Thanks.
- SKM
- Full Member
- Posts: 125
- Joined: Wed Oct 30, 2019 5:39 am
- License Nr.: 5-516
Re: REAL_OPTLAY:internal error
coming here from forum/viewtopic.php?f=3&t=3005#p19694 as suggested by Admin.
when this error occurred and as suggested checked POTCAR for ENMAX values and then combined individual POTCARs from max ENMAX to descending order, even then i got the same error.
the sequence of POTCAR ENMAXs...
ENMAX = 269.864; ENMIN = 202.398 eV
ENMAX = 220.318; ENMIN = 165.238 eV
ENMAX = 175.647; ENMIN = 131.735 eV
ENMAX = 105.037; ENMIN = 78.777 eV
the portion from log file is copied here.
POSCAR found : 4 types and 224 ions
scaLAPACK will be used
WARNING: PSMAXN for non-local potential too small
LDA part: xc-table for Pade appr. of Perdew
POSCAR found type information on POSCAR Mn Cs I Bi
POSCAR found : 4 types and 224 ions
POSCAR, INCAR and KPOINTS ok, starting setup
REAL_OPTLAY: internal error (1) 7381103 7381506
REAL_OPTLAY: internal error (1) 7381103 7381506
REAL_OPTLAY: internal error (1) 7381103 7381506
....
....
when this error occurred and as suggested checked POTCAR for ENMAX values and then combined individual POTCARs from max ENMAX to descending order, even then i got the same error.
the sequence of POTCAR ENMAXs...
ENMAX = 269.864; ENMIN = 202.398 eV
ENMAX = 220.318; ENMIN = 165.238 eV
ENMAX = 175.647; ENMIN = 131.735 eV
ENMAX = 105.037; ENMIN = 78.777 eV
the portion from log file is copied here.
POSCAR found : 4 types and 224 ions
scaLAPACK will be used
WARNING: PSMAXN for non-local potential too small
LDA part: xc-table for Pade appr. of Perdew
POSCAR found type information on POSCAR Mn Cs I Bi
POSCAR found : 4 types and 224 ions
POSCAR, INCAR and KPOINTS ok, starting setup
REAL_OPTLAY: internal error (1) 7381103 7381506
REAL_OPTLAY: internal error (1) 7381103 7381506
REAL_OPTLAY: internal error (1) 7381103 7381506
....
....
Regards
SKM
SKM
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
Can you upload a set of input files to reproduce the issue? Will the error occur immediately or do I need to run several steps?
Martin Schlipf
VASP developer
- SKM
- Full Member
- Posts: 125
- Joined: Wed Oct 30, 2019 5:39 am
- License Nr.: 5-516
Re: REAL_OPTLAY:internal error
hi
please see the attached tar files.
ENCUT 616 eV successful run.
ENCUT 617 eV Not success.
both attached.
is this problem associated with Gcut value assessed from POTCAR file?
Regards
please see the attached tar files.
ENCUT 616 eV successful run.
ENCUT 617 eV Not success.
both attached.
is this problem associated with Gcut value assessed from POTCAR file?
Regards
You do not have the required permissions to view the files attached to this post.
Regards
SKM
SKM
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: REAL_OPTLAY:internal error
I could not reproduce this with Vasp 6. But I am aware that there was an issue with the Cs PAW in Vasp 5.4.4 which has been fixed in Vasp 6. Does this also happen on a single k-point in Vasp 5.4.4?
Martin Schlipf
VASP developer