Author Topic: Phonon transport calculation- ERROR: Dimension mismatch  (Read 4797 times)

0 Members and 1 Guest are viewing this topic.

Offline baizq

  • QuantumATK Guru
  • ****
  • Posts: 100
  • Country: us
  • Reputation: 3
    • View Profile
Hi All,

I was trying to do a phonon transport calculation on a gold/vacuum/carbon system while encountering an error at the phonon transport step after dynamic matrix calculation had been done:

** Back Engine Exception : Dimension mismatch
** Location of Exception : complexmatrix.cpp:319

1. Does anyone have an idea what the problem is? I tried a similar system of gold/vacuum/gold and the problem did not appear.

2. How could one resume a phonon calculation from the previous calculation where the dynamic matrix is available?

I have attached the phonon transport script for your reference.

Thanks,
baizq
« Last Edit: January 6, 2016, 18:28 by baizq »

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Phonon transport calculation- ERROR: Dimension mismatch
« Reply #1 on: January 6, 2016, 10:10 »
We are looking into this...

Offline baizq

  • QuantumATK Guru
  • ****
  • Posts: 100
  • Country: us
  • Reputation: 3
    • View Profile
Re: Phonon transport calculation- ERROR: Dimension mismatch
« Reply #2 on: January 6, 2016, 18:30 »
Thank you, Jess. Looking forward to your reply.

baizq

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Phonon transport calculation- ERROR: Dimension mismatch
« Reply #3 on: January 6, 2016, 21:48 »
Just a note about the 2nd question: you can always "nlread" the DynamicalMatrix from the NC file where it's stored, and use it for the following steps.

Offline baizq

  • QuantumATK Guru
  • ****
  • Posts: 100
  • Country: us
  • Reputation: 3
    • View Profile
Re: Phonon transport calculation- ERROR: Dimension mismatch
« Reply #4 on: January 7, 2016, 18:29 »
Thank you, Anders. What would be the exact nlread command? I used the nlread but the program complained that there is no dynamic matrix read in.

baizq

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Phonon transport calculation- ERROR: Dimension mismatch
« Reply #5 on: January 7, 2016, 22:53 »
Start by checking the NC in VNL,  to see if there really is a DynamicalMatrix object. Then you should be able to do

dm = nlread("file.nc", DynamicalMatrix)[0]

Do you get an error on that?