Author Topic: lattice_const_looping struck ....  (Read 2412 times)

0 Members and 1 Guest are viewing this topic.

Offline Jin You Lu

  • Regular QuantumATK user
  • **
  • Posts: 21
  • Country: tw
  • Reputation: 1
    • View Profile
lattice_const_looping struck ....
« on: September 6, 2016, 21:57 »
Dear Sir
I want to scan the lattice to find minimum total energy of structure.
So i use the file in the tutorial to practice it , but it always struck in the calculating Kinetic matrix.
 Please check the attached files,thanks

Offline zh

  • QuantumATK Support
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: lattice_const_looping struck ....
« Reply #1 on: September 7, 2016, 03:11 »
The error isn't reproduced by the  Atomistix ToolKit 2016.a1 [Build 3750602].

Offline Jin You Lu

  • Regular QuantumATK user
  • **
  • Posts: 21
  • Country: tw
  • Reputation: 1
    • View Profile
Re: lattice_const_looping struck ....
« Reply #2 on: September 7, 2016, 07:08 »
I am using the Latest official release: Version 2016.0 (June 21, 2016) (64bit Wins).
So where i can find 2016a1 version.
Thanks

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 425
  • Country: dk
  • Reputation: 8
    • View Profile
Re: lattice_const_looping struck ....
« Reply #3 on: September 7, 2016, 09:20 »
2016.a1 is a pre-release version, so you should keep using 2016.0 until 2016.1 comes out.

I could not reproduce on Ubuntu 64-bit, so I will have to check if it appears on Windows for me. Could you try running it again? It is a very quick script.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: lattice_const_looping struck ....
« Reply #4 on: September 7, 2016, 10:06 »
This is a bug in ATK 2016.0 in Windows. Should be fixed in an upcoming version 2016.1. In the meantime, you can execute the script from terminal instead of using the Job Manager:
- in the Windows 2Start" manu, navigate to the "QuantumWise" folder, and click the "Command line terminal" icon. A terminal will open.
- in terminal, navigate to the folder with the script you want to execute (use "cd dirname" to change directory, and use "dir" to display the contents of a folder).
- execute the script by the command "atkpython.exe lattice_const_looping.py".

The calculations will run and the plot should show up.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: lattice_const_looping struck ....
« Reply #5 on: September 7, 2016, 10:52 »
I don't think this is fixed in 2016.1, which now is available for download, so you need to use the command-line approach for a while still. Alternatively, and perhaps better, is to modify the plot statements in the script, so instead of popping up the plot, just save it to a file. To do this, change

pylab.show()

to

pylab.savefig("plot.png")