Author Topic: Problem for ploting bandstructure or transmission  (Read 4450 times)

0 Members and 1 Guest are viewing this topic.

Offline broadcome

  • Regular QuantumATK user
  • **
  • Posts: 9
  • Country: kr
  • Reputation: 0
    • View Profile
Problem for ploting bandstructure or transmission
« on: June 29, 2011, 07:01 »
I sm testing QW to check performance by flowing tutorial about MTJ.

 :-[problem 1.
For continous calculation (ex) MTJ relaxation calculation -> MTJ parallel spin calculation)
When I select mgo_relax.nc and drag and drop it onto the "builder icon"
It's not working with flowing error massage

==========================================
Traceback (most recent call last):
  File "./zipdir/NL/GUI/MainWindow/MainWindow.py", line 433, in toolBarDropEvent
  File "./zipdir/NL/GUI/Tools/Builder/Builder.py", line 448, in dropReceiver
  File "./zipdir/NL/GUI/DragAndDrop/DropReceiver.py", line 70, in handleDrop
  File "./zipdir/NL/GUI/Tools/Builder/Builder.py", line 474, in plotObjectDrop
UnboundLocalError: local variable 'configuration' referenced before assignment


 :-[problem 2.
I cant plot any picture, band structure, transmission spetctrum, etc...
select band structure and click Show button then just blank plot pop up.

 :-[(problem 3. (may be same problem with problem 2?)
And the tranmission analyzing script (which script came from tutorial of "Spin tranport in Magneto Tunnel Juctions")...
is not working with folloing error message.

====================================
Traceback (most recent call last):
  File "/tmp/2231961542871158.py", line 24, in <module>
    import pylab
  File "./build/atkpython/lib/python2.6/site-packages/pylab.py", line 1, in <module>
  File "./build/atkpython/lib/python2.6/site-packages/matplotlib/__init__.py", line 135, in <module>
  File "./build/atkpython/lib/python2.6/site-packages/matplotlib/rcsetup.py", line 19, in <module>
  File "./build/atkpython/lib/python2.6/site-packages/matplotlib/colors.py", line 54, in <module>
  File "./build/atkpython/lib/python2.6/site-packages/matplotlib/cbook.py", line 30, in <module>
  File "./build/atkpython/lib/python2.6/locale.py", line 530, in getpreferredencoding
  File "./build/atkpython/lib/python2.6/locale.py", line 494, in setlocale
locale.Error: unsupported locale setting
NanoLanguageScript execution failure


I'm looking forward for positive response.
Thanks.
« Last Edit: June 29, 2011, 09:50 by broadcome »

Offline medeepak

  • Heavy QuantumATK user
  • ***
  • Posts: 52
  • Reputation: 0
    • View Profile
Re: Problem for ploting bandstructure or transmission
« Reply #1 on: June 29, 2011, 11:39 »
problem 2.
I cant plot any picture, band structure, transmission spetctrum, etc...
select band structure and click Show button then just blank plot pop up.
////


hi even i have the same error when i run it in RHEL but in debian or windows i dont get this prob
if you want to plot it export it and plot it using Grace or Gnuplot or any other such plotting softie

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Problem for ploting bandstructure or transmission
« Reply #2 on: June 30, 2011, 00:20 »
Problem 3) appears to be related to a request to draw a symbol from the Korean alphabet, and that appears not to be support by the pylab module.

The computer you are running, does it have an english or korean operating system?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Problem for ploting bandstructure or transmission
« Reply #3 on: June 30, 2011, 07:22 »
Or does the username or the directory where the scripts are stored contain a non-ASCII character? That could explain both problems 1 and 3, in that ATK doesn't support this. Try to make a directory /home/atk or /opt/atk where all scripts and NC files are stored, and see if it makes a difference.