[ase-users] ASE. Problem with visualisation
Aleksei
from.aleksey92 at gmail.com
Mon Nov 14 19:44:04 CET 2016
Hello,
I am looking at the tutorial " Introduction: Nitrogen on copper" and I
have got an error when I try to visualise the structure:
run N2Cu.py
BFGSLineSearch: 0[ 0] 21:31:10 11.689927 1.0797
BFGSLineSearch: 1[ 2] 21:31:10 11.670814 0.4090
BFGSLineSearch: 2[ 4] 21:31:11 11.625880 0.0409
('Adsorption energy:', 0.3235194223180784)
0: 0.44034 eV, 0.44034 eV, 0.00000 eV
1: 0.43816 eV, 0.26289 eV, 0.17527 eV
2: 0.44058 eV, 0.43143 eV, 0.00915 eV
3: 0.43874 eV, 0.29290 eV, 0.14584 eV
4: 0.44015 eV, 0.41841 eV, 0.02174 eV
5: 0.43830 eV, 0.28898 eV, 0.14932 eV
6: 0.43947 eV, 0.36908 eV, 0.07039 eV
7: 0.43951 eV, 0.35502 eV, 0.08449 eV
8: 0.43959 eV, 0.36227 eV, 0.07732 eV
9: 0.43933 eV, 0.36035 eV, 0.07897 eV
from ase.visualize import view
view(slab)
Traceback (most recent call last):
File
"/home/aleksei/anaconda2/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-29-a7013d663525>", line 1, in <module>
view(slab)
File
"/home/aleksei/anaconda2/lib/python2.7/site-packages/ase/visualize/__init__.py",
line 56, in view
subprocess.Popen([command, filename])
File "/home/aleksei/anaconda2/lib/python2.7/subprocess.py", line 711,
in __init__
errread, errwrite)
File "/home/aleksei/anaconda2/lib/python2.7/subprocess.py", line
1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I use Ubuntu 16.0 and the last version of anaconda. I installed all
packages which are required for ASE.
Thank you!
Aleksei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20161114/d348edf7/attachment.html>
More information about the ase-users
mailing list