Ptolemy 0.6 Distribution

This file duplicates some of the material found in the files below, but the page does provide links to the Ptolemy0.6 tar files.


Places to go

  • Ptolemy Home Page
  • Ptolemy 0.6 Release Notes
  • Appendix A of the Ptolemy User's Manual, which includes Ptolemy 0.6 Installation instructions in pdf, PostScript, html and ASCII
  • Late breaking Ptolemy0.6 Bugs
  • C50 patch for Ptolemy0.6
  • Domain retargeting patch for Ptolemy0.6 (9/18/96)
  • Architecture Trade Tool (11/12/96)

  • Quick installation instructions

    Here are the instructions for downloading Ptolemy0.6. If you are already familiar with Ptolemy, you might be able to get by with these quick instructions. If you are new to Ptolemy, you may want to look over the Detailed Instructions below.
  • If you are running under Solaris2.4, SunOS4.1.3 or HPUX10.01, you can download prebuilt binaries built by the Ptolemy group.
  • We have contributed binaries for certain other platforms, including Linux Slackware3.0 and DEC Alpha.
  • If we don't have prebuilt binaries available, you will have to download scratch sources build from scratch.
  • Common download configurations

    The Ptolemy distribution consists of several different GNU zipped tar files that can be mixed or matched. Below are several common sets of files.

    Download Prebuilt Binaries built by the Ptolemy group

    Note that you must down load the src tar file to run prebuilt binaries. The src tar file contains files that are used at runtime.
  • Solaris2.4 binary distribution, with gcc (139 Mb uncompressed and untar'd): src (9.3 Mb) - sol2 Ptolemy binaries (20.8 Mb) - sol2 gcc-2.7.2/libg++-2.7.1 binaries (7.2 Mb)
  • SunOS4.1.3 binary distribution, with gcc: src (9.3 Mb) - sun4 Ptolemy binaries (20.3 Mb) - sun4 gcc-2.7.2/libg++-2.7.1 binaries (7.7 Mb)
  • HPUX10.01 binary distribution, with gcc: src (9.3 Mb) - hppa Ptolemy binaries (25.1 Mb) - hppa gcc-2.7.2/libg++-2.7.1 binaries (7.9 Mb)
    To use the HPUX10.01 binaries, you must have X11R6 installed. See README.hpux for details. A tar file of X11R6 is available at XR6built-6.11-sd-9.03.tar.gz.
  • Download Prebuilt Binaries contributed by others

    The Ptolemy group provides binaries for Solaris2.4, SunOS4.1.3 and HPUX10.01. Below are downloads for binaries that were contributed by others, or built by the Ptolemy group, but not tested thoroughly. Note that you must download the src tar file to use prebuilt binaries.
  • DEC Alpha OSF1 V3.2 binaries from Christopher Hylands: README.alpha - DEC Alpha Ptolemy binaries (49Mb)
  • HPUX9.05 binaries Christopher Hylands: README HPUX9.05 Ptolemy binaries - HPUX9.05 GNU binaries
    To use the HPUX9.05 binaries, you must have X11R6 installed. See README.hpux for details. A tar file of X11R6 is available at XR6built-6.11-sd-9.03.tar.gz.
  • IBM AIX4.1 binaries and sources from Xavier Warzee: IBM AIX 4.1 binaries (34Mb) - IBM AIX 4.1 sources (9.3Mb) - IBM AIX 4.1 Other sources (octtools, tcltk etc.) (6Mb)
  • SGI Irix5.3 binaries, using SGI's CC compiler from Uwe Trautwein. SGI Irix5.3 binaries
  • SGI Irix5.3 binaries, using GNU gcc from Dominique Ragot. (This release should work under Irix6.2 also). irix5 README - Directory containing split tar file (~95Mb!)
  • Linux Slackware3.0 Distribution from Wolfgang Reimer.
  • The original ftp site in Germany
  • Local linux distribution UCB README
  • Sources to build from scratch

  • Sources to build everything from scratch on non-HP platforms (Note that AIX has a separate set of sources above): src (9.3 Mb) - other.src (5.9 Mb) - gnu (9.8 Mb) -
  • Sources to build everything from scratch on an HPUX10.01 platform: src (9.3 Mb) - other.src (5.9 Mb) - gnu.hppa.src (13.9 Mb)
  • C50 patch for Ptolemy0.6
  • Building From Scratch

    1. To rebuild from scratch, grab the following tar files: src (9.3 Mb), other.src (5.9 Mb),
    2. If you don't have gcc-2.7.2 and libg++-2.7.1 and GNU make, and are on anything other than the HP, grab gnu (9.8Mb) (This file includes bison-1.24 and flex-2.5.2). If you are on the HP, then you will want to grab gnu.hppa.src (13.9 Mb), which includes everything in the gnu file in addition to binutils-2.6.
    3. Gunzip and untar the files. If you are on anything but a HP, you will need around 392 Mb to build GNU, tcltk, octtools and ptolemy. If you are short on space, see the Disk Space section below.
    4. Set your PTOLEMY variable, your PTARCH variable, and your path. You could source ptolemy/.cshrc or place the following in your .cshrc
      	
      	setenv PTOLEMY /your/ptolemy
      	setenv PTARCH `/your/ptolemy/bin/ptarch`
      	set path = ($PTOLEMY/bin.$PTARCH $PTOLEMY/bin $path)
      	
      Where /your/ptolemy is the location of the Ptolemy tree.

      You need to have $PTOLEMY/bin so you can find genStarTable which is used to create files like sdf/stars/sdfstars.c

      In 0.6, we've renamed ARCH to PTARCH so we don't conflict with other packages.

      If you will be building the GNU tools under Solaris, you need to have /usr/bin in your path before /usr/ucb, see $PTOLEMY/src/gnu/README

    5. If you have the GNU tools installed, then do:
      	cd $PTOLEMY; make everything >& log.out &
      	
      Note that GNU make should be in your path as make.
    6. If you do not have the GNU tools installed, then you should read $PTOLEMY/src/gnu/README and then do:
      	cd $PTOLEMY; make bootstrap >& log.out &
      	

    Detailed instructions

    Below is amplification of the quick and dirty instructions above. For the complete installation documentation, see
  • ASCII Instructions on how to obtain Ptolemy
  • ASCII Instructions on how to install Ptolemy
  • ASCII Instructions on how to troubleshoot Ptolemy
  • GNU zipped PostScript of the above three files
  • You can obtain the tar files either from this web page, or by using anonymous ftp to ptolemy.eecs.berkeley.edu. The files are in pub/ptolemy/ptolemy0.6.

    Below is a description of the Ptolemy0.6 source tar files:

  • The 0.6 src file is about 9.3 Mb gzipped. (In 0.5.2, this file was 7.9 Mb. Some of the increase comes from new stars demos and domains). I believe that we can make this file smaller, I'll look into this further.
  • The 0.6 other.src file is about 5.9 Mb gzipped. (In 0.5.2, this file was about 4.5 Mb. Most of the increase comes from Itcl) The other.src file includes octtools, itcl-2.0 and xv sources. itcl-2.0 includes tcl7.4p3/tk4.0p3. If you don't have itcl-2.0, then tycho, the gantt charts and possibly other things will not work.
  • The 0.6 gnu sources is about 9.9 Mb gzipped. (In 0.5.2, this file was about 8.8 Mb, I believe that the increase is from changes to gcc)

    The 0.6 gnu tar file includes gcc-2.7.2 and libg++-2.7.1. If you can build gcc and libg++ with shared libraries, then incremental linking may work better for you. sol2 and hppa are the two architectures that have been built with shared libraries in house.

  • The 0.6 gnu.hppa.src sources is about 13.8 Mb gzipped. gnu.hppa.src differs from gnu in that gnu.hppa.src contains GNU binutils so that we build gas for use on the hppa.
  • Disk Space

    Under Solaris2.4, untarring the src, sol2 and gnu.sol2 tar files took up about 139 Mb of space. Of that 139 Mb, 24.4 Mb were consumed by the GNU binaries, and 23.4 Mb were taken up by itcl2.0 and tcltk.

    In a test build of the 0.6 release on a Solaris2.4 machine building from src, other.src and gnu, the total amount of disk space used was 392 Mb. If you build in stages and delete obj.$PTARCH/gnu (81.6 Mb), obj.$PTARCH/tcltk (25.6 Mb) and obj.$PTARCH/octtools (11.3 Mb) as you go, then you should be able to get by with less space (approx 273 Mb). If need be, you can remove src/gnu (56 Mb), src/tcltk (11 Mb) and src/octtools (9.5 Mb) after you have installed each of them. To free up space, you may want to remove the following:

  • $PTOLEMY/src/domains/sdf/demo/ppimage (~1020 Kb). This file is used by some of the image processing demos.

  • Last updated 01/30/97. Send comments to www@ptolemy.eecs.berkeley.edu.