Installing DANSE client

From DANSE

Table of contents

Apply for an account on arcs.cacr.caltech.edu

  1. follow instructions on how to Getting an account on arcs.cacr.caltech.edu


Install system support packages (cvs, ssh, ...)

  1. follow instructions in section(4) of Installing build procedure and framework
  2. set 'export $CVS_RSH=ssh' (in ~/.tools file)


Install Python

  1. follow instructions in section(3) of Installing build procedure and framework


Install support packages (Numeric, Pmw, ...)

  1. 'Pmw' can be obtained at:
  2. unpack 'Pmw'
    • $ tar -xvzf Pmw*;
  3. move Pmw directory to python site-package directory
    • $ mv Pmw $PYTHON_LIBDIR/site-packages
  4. 'Numeric' can be obtained at:
  5. unpack 'Numeric'
    • $ tar -xvzf Numeric*;
  6. change to Numeric directory
    • $ cd Numeric*;
  7. build Numeric
    • $ python setup.py build
    • $ python setup.py install
    • $ cd ..
  8. NOTE: if you are a Cygwin/MinGW user and installation of Numeric fails... skip to section 6 ("Install PyOpenGL and other graphics support packages"), then return here and proceed.
  9. '4Suite' can be obtained at:
  10. unpack '4Suite'
    • $ tar -xvzf 4Suite*;
  11. change to 4Suite directory
    • $ cd 4Suite*;
  12. build 4Suite
    • $ python setup.py build
    • $ python setup.py install
    • $ cd ..
  13. 'PyXML' can be obtained at:
  14. unpack 'PyXML'
    • $ tar -xvzf PyXML*;
  15. change to PyXML directory
    • $ cd PyXML*;
  16. build PyXML
    • $ python setup.py build --without-xslt --without-xpath
    • $ python setup.py install --without-xslt --without-xpath
    • $ cd ..


Install gnuplot and gnuplot-py

for CYGWIN...

  1. 'gnuplot' can be obtained at:
  2. NOTE: the following installation of Gnuplot describes the Cygwin install of the "WINDOWS" version of Gnuplot. If the user chooses to install the "LINUX" version of Gnuplot under Cygwin, follow the "for LINUX..." path in this section, then return here to finish installing 'gnuplot-py'.
  3. install 'gnuplot' as the windows installer requires
    • install to C:\Gnuplot (or similar directory WITHOUT whitespace in the name)
    • select pgnuplot, wgnuplot, ...
  4. add Gnuplot to $PATH
    • right-click "My Computer"
    • left-click "Properties"
    • left-click the "Advanced" tab
    • left-click "Environment Variables"
    • double left-click 'path'
    • add "C:\Gnuplot\bin;" to the end of the path
    • left-click "OK" on all existing windows
  5. 'gnuplot-py' can be obtained at:
  6. unpack 'gnuplot-py'
    • $ tar -xvzf gnuplot-py*;
  7. change to gnuplot-py directory
    • $ cd gnuplot-py*;
  8. build gnuplot-py
    • $ python setup.py build
    • $ python setup.py install
  9. ---instructions need improvement--- (contributions, anyone?)

for MINGW...

  1. ---instructions needed here--- (contributions, anyone?)

for LINUX...

  1. 'gnuplot' can be obtained at:
  2. unpack 'gnuplot'
    • $ tar -xvzf gnuplot*;
  3. change to gnuplot directory
    • $ cd gnuplot*;
  4. build gnuplot
    • $ ./configure
    • $ make
    • $ make install
  5. 'gnuplot-py' can be obtained at:
  6. unpack 'gnuplot-py'
    • $ tar -xvzf gnuplot-py*;
  7. change to gnuplot-py directory
    • $ cd gnuplot-py*;
  8. build gnuplot-py
    • $ python setup.py build
    • $ python setup.py install

for MAC...

  1. 'gnuplot' can be obtained at:
  2. unpack 'gnuplot'
    • $ tar -xvzf gnuplot*;
  3. change to gnuplot directory
    • $ cd gnuplot*;
  4. build gnuplot
    • $ ./configure
    • $ make
    • $ make install
  5. 'gnuplot-py' can be obtained at:
  6. unpack 'gnuplot-py'
    • $ tar -xvzf gnuplot-py*;
  7. change to gnuplot-py directory
    • $ cd gnuplot-py*;
  8. build gnuplot-py
    • $ python setup.py build
    • $ python setup.py install


Install PyOpenGL and other graphics support packages (optional)

for CYGWIN...

  1. repeat 1.2-1.5 for Cygwin on build procedure and framework
  2. add "http://cygwin-ports.sourceforge.net/install/" as User URL
  3. from "Python", select: "PyOpenGL", "PIL" (and "Numeric" if it failed to install above)
  4. from "X11", select: "xpdf" (optional)
  5. download and install packages

for MINGW...

  1. ---instructions needed here--- (contributions, anyone?)

for LINUX...

  1. 'Tix' can be obtained at:
  2. 'pdflib' can be obtained at: (optional)
  3. 'PIL' can be obtained at: (optional)
  4. 'GLUT' can be obtained at:
  5. 'PyOpenGL' can be obtained at:
  6. NOTE: To say that a correct integration of PyOpenGL, Tk, and Python is tricky, is a vast understatement. Skip the installation of PyOpenGL unless you cannot avoid it. If PyOpenGL is needed for your installation of the DANSE client, please contact mmckerns@caltech.edu (mailto:mmckerns@caltech.edu).
  7. ---instructions need improvement--- (contributions, anyone?)

for MAC...

  1. ---instructions needed here--- (contributions, anyone?)


Install ISAW (optional)

  1. ---instructions needed here--- (contributions, anyone?)


Install Matlab (optional)

  1. ---instructions needed here--- (contributions, anyone?)


Install IDL (optional)

  1. ---instructions needed here--- (contributions, anyone?)


Install DANSE client

  1. create local cvs repository directory
    • $ mkdir -p ~/repository
  2. change to repository directory
    • $ cd ~/repository
  3. checkout DANSE client
    • $ cvs -d username@arcs.cacr.caltech.edu:/home/arcs/cvs co cobra152
  4. change to DANSE client directory
    • $ cd cobra152
  5. launch DANSE client (optional)
    • $ python Cobra.py
Personal tools
Document Uploads/Links