Author Topic: Version confilict 12.2&12.8  (Read 5278 times)

0 Members and 1 Guest are viewing this topic.

Offline jlmwilliam

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Version confilict 12.2&12.8
« on: April 3, 2014, 01:46 »
Got some problems of using different versions of ATK. I use both desktop and server to do calculation. The atk installed on my desktop is 12.8 and 13.8 and the atk on the server is 12.2,12.8 and 13.8. Usually I use command "atkpython *** " to set up calculation on server. However, the server will defaultly use 12.2 atkpython to calculate which causes some problem. I used my desktop to calculate Dos and Transmission Spectra with atk 12.8. Then I want to use the calculated .nc file to calculate the IV curve. It seems atk 12.2 can not read the 12.8 nc file properly. -------------------------------------------------------------------------------------------------------------------- First error message: I use command "atkpython **.py" to setup calculation, the server returns the error message ******************************************************************************************* psTraceback (most recent call last):   File "EH-IV-setup.py", line 2, in <module>     device_configuration = nlread("/storage2/beta/users/lmj/ATK/EH-DosTs.nc",DeviceConfiguration)[0]   File "./zipdir/NL/IO/NLSaveUtilities.py", line 256, in nlread NL.ComputerScienceUtilities.Exceptions.NLValueError: This version has no support for reading netcdf files from ATK 12.8.0 ******************************************************************************************* So I try the method to read and rewrite the nc file by atk 12.2
Code
objects = nlread("EH-DosTs.nc")  
for x in objects:  
    nlsave("EH-DosTs(new).nc", x)  
It turns out the ATK 12.2 can't read the nc file created by 12.8 ******************************************************************************************* Traceback (most recent call last):   File "SavenewNC.py", line 1, in <module>     objects = nlread("EH-DosTs.nc")   File "./zipdir/NL/IO/NLSaveUtilities.py", line 256, in nlread NL.ComputerScienceUtilities.Exceptions.NLValueError: This version has no support for reading netcdf files from ATK 12.8.0 ******************************************************************************************* So I use the 12.8 "atkpython" to execute the calculation by "/usr/local/QuantumWise/atk-12.8.2/atkpython/bin/atkpython **.py" However, it still returns some problems after calculate for sometimes(error returns in about 0.5hr~1hr after calculation started) ******************************************************************************************* /usr/local/QuantumWise/atk-12.8.2/atkpython/bin/atkpython: line 7: 73174 Segmentation fault      (core dumped) $EXEC_DIR/atkpython_exec $* [1]    Exit 139      ******************************************************************************************* How should I fix the problem? If you need the future information, let me know.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Version confilict 12.2&12.8
« Reply #1 on: April 3, 2014, 13:35 »
It is correct that 12.2 cannot read files from 12.8.

As for why the calculation doesn't work in 12.8, this can only be answered by seeing the script. Maybe it just ran out of memory, this is in 99.9% of cases the reason for ATK segfaulting.