Author Topic: Help: error about optimization  (Read 8884 times)

0 Members and 1 Guest are viewing this topic.

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Help: error about optimization
« on: July 11, 2010, 12:39 »
Dear Sir:
I am not good at using the ATK.And I want to optimize my module,but It always made mistakes,like this:


Traceback (most recent call last):
File "c:\users\admin\appdata\local\temp\6959826860399464.py", line 111, in <module>
trajectory_filename=None,
File ".\zipdir\NL\Optimization\OptimizeGeometry.py", line 57, in OptimizeGeometry
NL.ComputerScienceUtilities.Exceptions.NLValueError: OptimizeGeometry is only supported for LCAO & EMT calculators.

 
In addition,the version which I used  is  the trial version of  2010.8.b1.
Can you tell me the differences between the trial version and the authorised version ?
because sometime when I caculate some quantities  It can be work without error in the authorised version.
So I am grateful for your help!

Offline kstokbro

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 392
  • Reputation: 13
    • View Profile
    • QuantumWise
Re: Help: error about optimization
« Reply #1 on: July 11, 2010, 21:37 »
I think you are using the HuckelCalculator, it does not support optimization. Use the LCAOCalculator, i.e. ATKDFT.
I strongly recommend to download the released version, there are many differences and many bugs has been corrected relative to the beta release.

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #2 on: July 12, 2010, 04:11 »
I didn't save  the trajectory file, and the K point which I set was (1,1,100).
In addition,the optimization information of the script about my module had several words"warning:truncated content".
right now,the caculation had finished. but I can't find the output file.

Offline kstokbro

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 392
  • Reputation: 13
    • View Profile
    • QuantumWise
Re: Help: error about optimization
« Reply #3 on: July 12, 2010, 08:25 »
the program sends output to stdout, if nothing is specified this is the screen.
in linux write
atkpython input_file.py > output_file.log

however you should have a .nc file with the relaxed geometry, which can be studied with vnl

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #4 on: July 12, 2010, 09:16 »
i use the 2010.8 version in windows system. i have set the default output nc file which called "analysis.nc".but i only find the  molecule configuration which was not the   final output file ,but may be the input file.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Help: error about optimization
« Reply #5 on: July 12, 2010, 16:03 »
Are there one or two entries in your NC file? What is the script you ran?

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #6 on: July 13, 2010, 11:24 »
i have  default output file and  trajectory file ,but with the different name.
and  i ran the  py  script file which i already seted the parameters.
right now ,i  finished my caculation, but i don't know how to find the  model which i optimized.
thanks for your teaching.

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #7 on: July 13, 2010, 11:29 »
i  can't find the result. in the old version ,there will be a vnl file ,and i can see the module clearly.but in the new version ,there will be not .so ,how can i see the final result .
thank you .

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #8 on: July 13, 2010, 11:43 »
and can i read the final result  if i didn't save the trajectory file?
thank you very much!

Offline zh

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Help: error about optimization
« Reply #9 on: July 15, 2010, 06:14 »
The atomic coordinates are usually printed out in the log file during the self-consistent calculations for each step in the geometry optimization. You can extract them to build a file with xyz format.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Help: error about optimization
« Reply #10 on: July 15, 2010, 22:46 »
If you are using the 10.8 (final!) version, you should have in the NC file two molecular configurations, one was input and one is output (the optimized geometry). If not, it will be caused by something in the script. Unless you post the script used, it is very difficult to offer proper assistance. You can remove the geometry definition if you prefer to keep it secret, but keep the rest of the script. If your script was GENERATED by 10.8.b1 and you RUN it with 10.8, the problem will occur that only the input geometry is saved to the NC file. You need to generate the script also with 10.8 for it to work properly. This was one of the known bugs in the beta-release which were fixed in the final version.

Offline qingfang

  • Heavy QuantumATK user
  • ***
  • Posts: 25
  • Reputation: 0
    • View Profile
Re: Help: error about optimization
« Reply #11 on: July 16, 2010, 09:34 »
thank you very much.  :) :) :)