Author Topic: Possible Bugs: Call QuantumWise Staffs for Help  (Read 13111 times)

0 Members and 1 Guest are viewing this topic.

Offline anyuezhiji

  • Regular QuantumATK user
  • **
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Possible Bugs: Call QuantumWise Staffs for Help
« Reply #15 on: August 13, 2014, 05:37 »
I really just changed 1 line - the k-points, compared to yours.
Attached is also the corresponding band structure plot.
I didn't evaluate the total energy.


Dear Dr. Blom,
I sincerely apologize for the delay in my response, but I have been extremely busy programming a new TB approximation and doing some other things, and the compute servers are also busy.
I just downloaded the script provided by you yesterday, and re-ran without any editing. It seems that everything goes well. But when Band1.py be tested , I got some different results.


Band1.py
Quote
bulk_configuration = nlread('scf.nc',BulkConfiguration)[0]
bandstructure = Bandstructure(
    configuration=bulk_configuration,
    kpoints=[[0.,0.,0.],[1./3,2./3,0.],[2./3,1./3,0.]],
    bands_above_fermi_level=All
    )
nlsave('band1.nc', bandstructure)


Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: Possible Bugs: Call QuantumWise Staffs for Help
« Reply #16 on: August 13, 2014, 11:31 »
Interesting issue. some notes if I may:
- Everything looks fine if you run the two calculations (Graphene1.py and Graphene2.py) including the BS analysis. The two BS objects are thus exactly the same. No errors here.
- Instead something is going wrong when you read one of the two BulkConfiguration (nlread part). The possible bug seems somewhere there, we will investigate.
- Because it seems that the problem is not related to k-points, by using 3x3 k-points and SZP basis set allows you to run on a laptop in less then one minute and makes everything faster.
- I noticed you use UnitCell for your bulk configuration. Why not hexagonal?

Offline anyuezhiji

  • Regular QuantumATK user
  • **
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Possible Bugs: Call QuantumWise Staffs for Help
« Reply #17 on: August 13, 2014, 16:08 »
Interesting issue. some notes if I may:
- Everything looks fine if you run the two calculations (Graphene1.py and Graphene2.py) including the BS analysis. The two BS objects are thus exactly the same. No errors here.
- Instead something is going wrong when you read one of the two BulkConfiguration (nlread part). The possible bug seems somewhere there, we will investigate.
- Because it seems that the problem is not related to k-points, by using 3x3 k-points and SZP basis set allows you to run on a laptop in less then one minute and makes everything faster.
- I noticed you use UnitCell for your bulk configuration. Why not hexagonal?

Dear Dr. Martinez:
    Thank you for your attention.
    -Yes.
    -I think the problem is not in the nlread part:1.it going wrong without "nlread" in some case;2 repeatedly nlread and nlsave, the same structure can be visualized in VNL. 
    -Yes, it makes everything faster. However, Dr. Blom said "I re-ran your Graphene1.py script with 27x27 k-points and I then get a perfect match to the expected result.", so 27x27 k-points is used for test.
    - If conducted atomic reconstruction and no longer hexagonal, this bug still exists. Carbon atomic system with UnitCell is only used for test. In fact, this bug has been encountered in some other complex systems with other elements such as B, N, Mo, S , Si. Coordinate translation could lead to the disappearance and appearance of bug, and I did not know what kind of initial structure could avoid this bug.  All I can do is to call QuantumWise Staffs for Help :D, for I do not have the source code can be used to debug.

Offline anyuezhiji

  • Regular QuantumATK user
  • **
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Possible Bugs: Call QuantumWise Staffs for Help
« Reply #18 on: August 14, 2014, 11:25 »
I guess if there are atoms on or too close to the faces of parallelepipeds consisted of  the three basis vectors, this bug may encountered but not every time.
« Last Edit: August 14, 2014, 11:30 by anyuezhiji »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Possible Bugs: Call QuantumWise Staffs for Help
« Reply #19 on: August 15, 2014, 09:11 »
The bug is being investigated.