[DFTB-Plus-User] How to install dptools
Bálint Aradi
balint.aradi at bccms.uni-bremen.de
Tue Nov 6 08:02:13 CET 2012
On 11/05/2012 08:04 PM, Bhatt, Mahesh wrote:
> hello,
> I have TiO2_pdos and I tried to plot this as follows:
> msslax at inchcape:/storage/csc/msslax/dftbplus/mio-1-1/TiO2> ls
> band.out charges.bin dftb_in.hsd dos_o.1.out dos_ti.1.out
> dos_ti.3.out dp_dos h2.pbs.o394623
> bandout.py detailed.out dftb_pin.hsd dos_o.2.out dos_ti.2.out
> dp_bands h2.pbs.e394623
> msslax at inchcape:/storage/csc/msslax/dftbplus/mio-1-1/TiO2> dp_dos
> band.out dos_total.dat
> Traceback (most recent call last):
> File "./dp_dos", line 9, in <module>
> from dptools.bandout import BandOut
> ImportError: No module named dptools.bandout
>
> When I tried to install dptools, I did according to instructions in
> README file. I found the following instructions:
> python setup.py
> python setup.py --prefix /home/user/dptools
> export PATH=$PATH:/home/user/dptools/bin
> export
> PYTHONPATH=$PYTHONPATH:/home/user/dptools/lib/pythonX.Y/site-packages
X.Y stays for your actual Python version! So, if you have Python 2.7,
for example, PYTHONPATH must be
export
PYTHONPATH=$PYTHONPATH:YOURHOMEDIRECTORY/dptools/lib/python2.7/site-packages.
And YOURHOMEDIRECTORY is the path to your home directory, like
/home/aradi on my computer for myself.
In doubt, please contact your system administrator, who would
definitely know the fine details.
Best regards,
Bálint
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b_aradi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20121106/28d406ee/attachment.sig>
More information about the DFTB-Plus-User
mailing list