Download Ptolemy 0.7.1
This file duplicates some of the material found in the files below, but the page does provide links to the ptolemy0.7.1 tar files.
Quick installation instructions
Here are the instructions for downloading ptolemy0.7.1 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.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.For a description of what is in the tar files, and what you need to run Ptolemy, see the description of the ptolemy0.7.1 tar files below.
Download Prebuilt Binaries built by the Ptolemy group
Note that you must down load thesrc
tar file to run
prebuilt binaries. The src
tar file contains files that
are used at runtime.
Download Prebuilt Binaries contributed by others
The Ptolemy group provides binaries for Solaris2.5.1, and HPUX10.20. 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 thesrc
tar file to use
prebuilt binaries.
In alphabetical order by operating system
Sources to build from scratch
src
(15.6 Mb) -
other.src
(7.5 Mb) -
gnu
(9.4 Mb) -
src
(15.6 Mb) -
other.src
(7.5 Mb) -
gnu.hppa.src
(14.5 Mb)
Building From Scratch
- To rebuild from scratch, grab the following tar
files:
src
(15.6 Mb),other.src
(7.5 Mb), - If you don't have egcs-1.0.2 and GNU make, and
are on anything other than the HP, grab
gnu
(9.4Mb) (This file includesbison-1.24
andflex-2.5.2
). If you are on the HP, then you will want to grabgnu.hppa.src
(14.5 Mb), which includes everything in thegnu
file in addition tobinutils-2.6
. - Gunzip and untar the files. If you are on anything but a HP, you will need around 400 Mb to build GNU, tcltk, octtools and ptolemy. If you are short on space, see the Disk Space section below.
- Set your
PTOLEMY
variable, yourPTARCH
variable, and your path. You could sourceptolemy/.cshrc
or place the following in your.cshrc
setenv PTOLEMY /your/ptolemy setenv PTARCH `/your/ptolemy/bin/ptarch` set path = ($PTOLEMY/bin $PTOLEMY/bin.$PTARCH $path)
Where/your/ptolemy
is the location of the Ptolemy tree.You need to have
$PTOLEMY/bin
so you can findgenStarTable
which is used to create files likesdf/stars/sdfstars.c
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
If you are using the Java version of
pxgraph
, either setJAVAHOME
to the location of your JDK, or be sure thatjavac
is in your path. See the Pxgraph Release Notes for more information - If you have the GNU tools installed, then do:
cd $PTOLEMY; make everything >& log.out &
Note that GNU make should be in your path asmake
. - 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 &
- If you are planning on building tar files for shipping, you might
want to check out
pt0.7.1.builddist.tar.gz
which contains a makefile and Gnu tar exclusion files that we use here at UC Berkeley to create distributions. These files are very rough, but might be of use.
Detailed instructions
Below is amplification of the quick and dirty instructions above.For the complete installation documentation, see Appendix A of the Ptolemy User's Manual.
The ptolemy0.7.1 release includes the Appendix A in
html format at $PTOLEMY/doc/html
.
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.7.1
.
Below is a description of the ptolemy0.7.1 source tar files.
Ptolemy requires the X window system. Ptolemy relies on a subset of the GNU tools, such as GNU make and gcc/g++. The binaries for the GNU tools on some architectures are supplied as a separate compressed tar file. It is possible to build Ptolemy with non-GNU compilers.
Ptolemy includes the Tycho system. Tycho is a graphical front end that uses Itcl.
Ptolemy 0.7.1 uses a Java version of pxgraph
to plot
data. If you don't have Java installed, you can build an X11
version, see the
Pxgraph Release Notes for more information
src
file is about 15.6 Mb gzipped.
other.src
file is about 7.5 Mb gzipped.
The other.src
file includes octtools, Itcl2.2 and xv
sources. Itcl2.2 includes Tcl7.6/Tk4.2. ptolemy0.7.1 requires Itcl2.2
for Tycho, which is used to view files, manage dialog boxes and
other tasks.
oct.src
file is about 2.1 Mb gzipped.
The oct.src
file includes only the octtools sources.
This file has not been tested extensively. If you already have Itcl2.2
and xv, then you can download oct.src
instead of
other.src
gnu
sources is about 9.4 Mb gzipped.
The 0.7.1 gnu tar file includes egcs-1.0.2. If you can build the egcs compiler with shared libraries, then incremental linking may work better for you.
sol2.5
and hppa
are the two
architectures that have been built with shared libraries in
house.
If you download the 0.7.1 gnu sources, then you can install the GNU tools by typing:
cd $PTOLEMY make install_gnu
gnu.hppa.src
sources is about 14.5 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.5.1, untarring thesrc
,
sol2.5
and gnu.sol2.5
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.7.1 release on a
Solaris2.5.1 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.
Mac OS X
Ptolemy 0.7.1 can be built with Mac OS X, see the instructions by David S. Evans athttp://www2.cs.pitt.edu/~devans/