band structure visualization

MULTIBINIT, aTDEP, ANADDB, optics, cut3d, mrg* postprocessors

Moderators: MMNSchmitt, gonze

Locked
hammouri
Posts: 57
Joined: Fri Feb 13, 2015 6:44 am

band structure visualization

Post by hammouri » Fri Feb 13, 2015 7:04 am

Hello,
I'm trying to plot the band structure, I'm following this way :
http://src.gnu-darwin.org/ports/science/abinit/work/abinit 5.2.4/doc/users/AbinitBandStructureMaker_manual.pdf
but I have no idea about abinitbandsructremake.py, so I used the one published here :
http://abinit.sourcearchive.com/documentation/5.3.4.dfsg/AbinitBandStructureMaker_8py-source.html
so once I run it it give me this error:
Traceback (most recent call last):
File "AbinitBandStructureMaker.py", line 16, in <module>
from Numeric import *
ImportError: No module named Numeric


please any comment!

hammouri
Posts: 57
Joined: Fri Feb 13, 2015 6:44 am

Re: band structure visualization

Post by hammouri » Sun Feb 15, 2015 5:27 pm

Any answer!!!

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: band structure visualization

Post by jbeuken » Sun Feb 15, 2015 7:20 pm

Please, use a more recent abinit version ( 7.10.2 )

Concerning the script AbinitBandStructureMaker.py, you need a Python with version > 2.6 , and the module numpy installed…

jmb
------
Jean-Michel Beuken
Computer Scientist

hammouri
Posts: 57
Joined: Fri Feb 13, 2015 6:44 am

Re: band structure visualization

Post by hammouri » Mon Feb 16, 2015 4:18 am

Thank you for helping, but now I have this error:

Traceback (most recent call last):
File "file.py", line 1273, in <module>
maxlist.append(ctrl.Y[i][ctrl.nvalenceband-1])
IndexError: index out of bounds

what do you know about it?
Thank you!

hammouri
Posts: 57
Joined: Fri Feb 13, 2015 6:44 am

Re: band structure visualization

Post by hammouri » Mon Feb 16, 2015 8:42 pm

what that error means??

moones
Posts: 8
Joined: Tue Aug 19, 2014 4:51 pm

Re: band structure visualization

Post by moones » Fri May 01, 2015 5:44 am

Your problem will be solved by installing the package:

sudo apt-get install python2.7 python2.7-dev
sudo apt-get install python-numpy python-scipy python-matplotlib

Locked