Page 1 of 1
Band structure plot
Posted: Tue Dec 11, 2012 12:11 pm
by mina
Hello all user,
i wana to plot band structure i have python in my pc but when i use this command to plot band structure: > python AbinitBandStructure.py file.out i get this error:bash: AbinitBandStructureMaker.py: command not found.
Would you please tell me why there is problem?
Best regards.
Mina.
Re: Band structure plot
Posted: Wed Dec 12, 2012 8:51 am
by ilukacevic
Dear mina,
I think this means that AbinitBandStructure.py is not in your path (you can google out how to put it there). Or you can give an explicit path where it is when you issue the command line.
Igor
Re: Band structure plot
Posted: Wed Dec 12, 2012 10:21 am
by mina
Dear ilukacevic,
Thank you for your help,i do that.i have linux debian on my pc and python but i dont have abinit in my pc. i run my job by abinit in server and then copy my job that has been run to my pc.now i copy AbinitBandStructureMaker.py in my pc too but i have that problem again.
Would you tell me what dose mean of path?
Best regards.
Mina.
Re: Band structure plot
Posted: Thu Dec 13, 2012 9:41 am
by ilukacevic
Re: Band structure plot
Posted: Sun Dec 16, 2012 2:23 pm
by mina
Dear ilukacevic,
Thank you for your help, i used your suggestions but now when i run: python AbinitBandStructureMaker.py myfile.out i have another error:
File "AbinitBandStructureMaker.py", line 16, in <module>
from Numeric import *
ImportError: No module named Numeric
i have python and python numpy on my pc too.
would you please guide me to solve this problem?
Best regards.
Mina.
Re: Band structure plot
Posted: Mon Dec 17, 2012 1:27 am
by suvas
Dear Mina,
I think you have Numeric Python code in Abinitbandstructure.py. You need to change Numeric to numpy simply. Before doing this you need to install numpy in your computer. That should work.
Suvas
Re: Band structure plot
Posted: Tue Dec 18, 2012 6:38 am
by mina
Dear Suvas,
Thanks a lot for your help,i could plot band structure.
Best regards.
Mina.