[ase-users] Dacapo/Jacapo installation troubleshoot

Sharon Chou cnorahs at stanford.edu
Thu Feb 3 21:28:55 CET 2011


Hello all,

I'm a new ASE user and I'm trying to install Dacapo in order to use the 
Jacapo calculator. The ASE installed okay and all the examples worked (I 
followed *https://wiki.fysik.dtu.dk/ase/download.html#download-and-install*)

And then I tried to install dacapo 
(*https://wiki.fysik.dtu.dk/dacapo/Installation*) by running commands as 
follows:
     (1) svn checkout 
https://USER@svn.fysik.dtu.dk/projects/dacapo/trunk dacapo
     (2) cd dacapo/Python
     (3) sudo python setup.py install

There were syntax errors as seen in the output below -

running install
running build
running build_py
copying Dacapo/Tests/__init__.py -> build/lib.linux-x86_64-2.6/Dacapo/Tests
copying Dacapo/Examples/__init__.py -> 
build/lib.linux-x86_64-2.6/Dacapo/Examples
running build_scripts
running install_lib
copying build/lib.linux-x86_64-2.6/Dacapo/Tests/__init__.py -> 
/usr/local/lib/python2.6/dist-packages/Dacapo/Tests
copying build/lib.linux-x86_64-2.6/Dacapo/Examples/__init__.py -> 
/usr/local/lib/python2.6/dist-packages/Dacapo/Examples
byte-compiling 
/usr/local/lib/python2.6/dist-packages/Dacapo/Tests/__init__.py to 
__init__.pyc
byte-compiling 
/usr/local/lib/python2.6/dist-packages/Dacapo/Examples/plotavgpot.py to 
plotavgpot.pyc
*SyntaxError: ('invalid syntax', 
('/usr/local/lib/python2.6/dist-packages/Dacapo/Examples/plotavgpot.py', 
32, 64, 'd1=Gnuplot.Data(zip(axis,avg_pot),title="average 
potential",with=\'lines\')\n'))*

byte-compiling 
/usr/local/lib/python2.6/dist-packages/Dacapo/Examples/__init__.py to 
__init__.pyc
byte-compiling 
/usr/local/lib/python2.6/dist-packages/Dacapo/Examples/harris.py to 
harris.pyc
*SyntaxError: ('invalid syntax', 
('/usr/local/lib/python2.6/dist-packages/Dacapo/Examples/harris.py', 27, 
14, "     data.with   = 'points 3 3'\n"))*

byte-compiling 
/usr/local/lib/python2.6/dist-packages/Dacapo/AtomProjectedDOS.py to 
AtomProjectedDOS.pyc
*SyntaxError: ('invalid syntax', 
('/usr/local/lib/python2.6/dist-packages/Dacapo/AtomProjectedDOS.py', 
360, 58, "               plotitem = 
Gnuplot.Data(self.GetData(),with='lines',title=title)\n"))*

running install_scripts
changing mode of /usr/local/bin/getocc.py to 755
changing mode of /usr/local/bin/eos to 755
changing mode of /usr/local/bin/vmdnc to 755
changing mode of /usr/local/bin/rstripnetcdf to 755
changing mode of /usr/local/bin/dacapo.run to 755
changing mode of /usr/local/bin/stripnetcdf to 755
changing mode of /usr/local/bin/nc2trajectory to 755
running install_egg_info
Removing /usr/local/lib/python2.6/dist-packages/Dacapo-0.9.4.egg-info
Writing /usr/local/lib/python2.6/dist-packages/Dacapo-0.9.4.egg-info

How can I fix these errors - Were there additional installation steps I 
missed? Thank you very much for your time and help!

Regards,
Sharon Chou
Department of Electrical Engineering
Stanford University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20110203/22ec468f/attachment.html>


More information about the ase-users mailing list