Author Topic: No energies in gradient file when E > 1 000 000 a.u.  (Read 10471 times)

antti_karttunen

  • Sr. Member
  • ****
  • Posts: 227
  • Karma: +1/-0
No energies in gradient file when E > 1 000 000 a.u.
« on: August 02, 2007, 02:15:01 PM »
Hello,

It seems that energy values larger than 1 000 000 a.u. won't be printed in the "gradient" file, resulting in following output:

cycle =      1    SCF energy =******************   |dE/dxyz| =  0.060736

Because the energies cannot be found from "gradient", relax and statpt can get a bit confused. Both consider all energy changes between geometries to be 0.0000 -> energy changes will be neglected when optimization convergence is checked -> optimization can end prematurely. So far I have circumvented this by tightening geometry change criterion to with "jobex -gcart" and checking the last energy change manually from "energy file" after convergence. So this is not such a huge problem, but it can cause some headache. Can the problem be fixed easily or would it cause compatibility issues in some modules or scripts?

This problem mostly affects structures consisting of late 3rd row elements (Ga->Br). For example, a structure with about 450 arsenic atoms already has an energy of over one million hartrees at B3LYP/def-SVP level. And the system size is still reasonable for optimization, one geometry step takes less than one day on one CPU without even using RI (B3LYP/def-SVP, ~15000 basis functions, O-symmetry).


turbomaster

  • Administrator
  • Full Member
  • *****
  • Posts: 63
  • Karma: +0/-0
Re: No energies in gradient file when E > 1 000 000 a.u.
« Reply #1 on: September 21, 2007, 11:42:45 PM »
Hi

Looks like Fortran format problem so the programs would have to be recompiled. Perhaps Uwe may help you with a quick solution.

antti_karttunen

  • Sr. Member
  • ****
  • Posts: 227
  • Karma: +1/-0
Re: No energies in gradient file when E > 1 000 000 a.u.
« Reply #2 on: September 22, 2007, 10:27:20 AM »
Hello,

this is not a very serious problem, but could become more annoying in the future, when larger and larger systems can be calculated in reasonable time. So, a quick fix is not really necessary, but hopefully this will be fixed in the future releases.

uwe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 560
  • Karma: +0/-0
Re: No energies in gradient file when E > 1 000 000 a.u.
« Reply #3 on: September 22, 2007, 10:00:46 PM »
Hi,

did I understand that correctly - the energies in the energy file are correct?

Uwe

antti_karttunen

  • Sr. Member
  • ****
  • Posts: 227
  • Karma: +1/-0
Re: No energies in gradient file when E > 1 000 000 a.u.
« Reply #4 on: September 23, 2007, 03:05:12 PM »
Hi,

Yes, the correct energies can be retrieved from "energy" file. Here is an example:

$energy      SCF               SCFKIN            SCFPOT
     1 -1019405.479252      1018027.138766     -2037432.618017
     2 -1019405.497991      1018029.967886     -2037435.465877
     3 -1019405.479988      1018029.499449     -2037434.979436

So, the full energy is shown, but digits are cut off from the end of the energy value. In the "gradient" file the logic seems to be a bit different: the accuracy of the energy value is always the same (10 digits after the decimal point), but when energies reach the limit of 1 000 000 a.u., the value becomes too "wide" for the field.