[ase-users] Dacapo/Jacapo installation troubleshoot (Sharon Chou)
John Kitchin
jkitchin at andrew.cmu.edu
Fri Feb 4 15:06:55 CET 2011
You do not need to run these two steps to use Dacapo or Jacapo.
(2) cd dacapo/Python
(3) sudo python setup.py install
this installs the old ASE2 code, which is not used much (if at all) anymore.
it should be sefficient to install ase, and to compile the Dacapo fortran
code as described in the sections 1.2.1-1.2.7 at the page you listed below.
The easiest way is to install the RPMS if you can.
j
Message: 1
> Date: Thu, 03 Feb 2011 12:28:55 -0800
> From: Sharon Chou <cnorahs at stanford.edu>
> Subject: [ase-users] Dacapo/Jacapo installation troubleshoot
> To: ase-users at listserv.fysik.dtu.dk
> Message-ID: <4D4B1007.9090502 at stanford.edu>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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-0001.html
>
> ------------------------------
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>
> End of ase-users Digest, Vol 32, Issue 1
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20110204/4ee13c2b/attachment.html>
More information about the ase-users
mailing list