Friday, July 23, 2010

install pizza.py

1. download pizza package from : http://lammps.sandia.gov/index.html
2. uncompress
3. go the fold "scr"
4. open the file pizza.py
check the first line "#!/usr/local/bin/python -i", and change it to the fold where you python is installed. (You can use the COMMAND: $which python)
5. add pizza.py to the environment parameters in the file .bashrc

2 comments:

  1. Hello
    I am working with Lammps,and try to visualize and analyze my job by pizza.py.But when i'm trying to install it in Ubuntu getting problems,I have installed Python 2.7.3 , most probably it has Tcl/tk Lib.When I run pizza.py from the src directory (by double clicking it) the terminal shows the following errors

    Pizza.py (5 Aug 2012), a toolkit written in Python
    type ? for help, CTRL-D to quit
    Loading tools ...
    bdump tool did not load:
    No module named Numeric
    mdump tool did not load:
    No module named Numeric
    animate tool did not load:
    No module named ImageTk
    tdump tool did not load:
    No module named Numeric
    dump tool did not load:
    No module named Numeric
    ldump tool did not load:
    No module named Numeric
    vmd tool did not load:
    No module named numpy
    image tool did not load:
    No module named ImageTk
    gl tool did not load:
    No module named OpenGL.Tk
    >

    I have gone through the documentation of pizza.py but after a long effort I can't overcome such problems.Please help me by making some suggestions on it preferably if you give me the command line,I would be highly thankful to you.

    ReplyDelete
    Replies
    1. Actually I use VMD more often to visualize the lammps results. It works well with Lammps.

      Delete