Author Topic: error in estimating thermoelectic coefficient through script file  (Read 51 times)

0 Members and 1 Guest are viewing this topic.

Offline sabyaphy12@gmail.com

  • New ATK user
  • *
  • Posts: 9
  • Country: in
  • Reputation: 0
    • View Profile
+------------------------------------------------------------------------------+
|                                                                              |
| QuantumATK P-2019.03-SP1[Build 3dc0d78]                                      |
|                                                                              |
+------------------------------------------------------------------------------+
Traceback (most recent call last):
  File "seebeck_coefficient2.py", line 120, in <module>
    transmission_spectrum = nlread(hdf5, TransmissionSpectrum)[-1]
  File "zipdir/NL/IO/NLSaveUtilities.py", line 853, in nlread
  File "zipdir/NL/IO/HDF5.py", line 544, in readHDF5
  File "zipdir/NL/IO/HDF5.py", line 623, in readHDF5Group
  File "zipdir/NL/IO/HDF5.py", line 584, in readHDF5Dict
  File "zipdir/NL/IO/HDF5.py", line 656, in readHDF5Group
  File "zipdir/NL/IO/HDF5.py", line 584, in readHDF5Dict
  File "zipdir/NL/IO/HDF5.py", line 623, in readHDF5Group
  File "zipdir/NL/IO/HDF5.py", line 584, in readHDF5Dict
  File "zipdir/NL/IO/HDF5.py", line 659, in readHDF5Group
  File "zipdir/NL/IO/HDF5.py", line 659, in <genexpr>
  File "zipdir/NL/IO/HDF5.py", line 644, in readHDF5Group
  File "zipdir/NL/IO/Serializable.py", line 324, in _fromVersionedData
NL.ComputerScienceUtilities.Exceptions.NLIOError: The data of class AtomicConfiguration has been stored on disk with a newer version of ATK. The serialization version of class AtomicConfiguration is 3, but your ATK version only supports the serialization versions up to 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "seebeck_coefficient2.py", line 122, in <module>
    raise IOError('The specified hdf5 file does not exist, or does not contain a transmission spectrum.')
OSError: The specified hdf5 file does not exist, or does not contain a transmission spectrum.

Timing:                          Total     Per Step        %

--------------------------------------------------------------------------------

Offline Petr Khomyakov

  • QuantumWise Staff
  • Supreme ATK Wizard
  • *****
  • Posts: 1270
  • Country: dk
  • Reputation: 23
    • View Profile
OSError: The specified hdf5 file does not exist, or does not contain a transmission spectrum.

Offline Anders Blom

  • QuantumWise Staff
  • Supreme ATK Wizard
  • *****
  • Posts: 5035
  • Country: dk
  • Reputation: 78
    • View Profile
    • QuantumWise
Petr, isn't the real issue this?

NL.ComputerScienceUtilities.Exceptions.NLIOError: The data of class AtomicConfiguration has been stored on disk with a newer version of ATK. The serialization version of class AtomicConfiguration is 3, but your ATK version only supports the serialization versions up to 2.

Seems the hdf5 file is made with a newer version - the files are not forward compatible, meaning a newer file (made with e.g. 2019.12) cannot be opened in an older version (like 2019.03), as seems to be the case here