Computational Science Institute
University of Oregon
Version 1.0, Nov 21 1997
The Genetic Simulation
Library (GSL) is a set of C++ classes designed to be used in individual-based models
of plant and animal populations. The classes in this library can be
used to build representations of genes for a wide variety of different
types of organisms, from asexually reproducing single-cell organisms to
chromosome-structured sexually reproducing animal species.
Documentation (if you
want local copies of GSL.html
GSL has been ported to the Macintosh by Robert Huber of Bowling Green State University.
The MacGSL port contains sources with the necessary changes for building applications
on MacOS and CodeWarrior project files for compiling GSL and applications.
If you are going to use
the library on a machine for which there is a binary archive in this directory
(e.g. an Ultrasparc-1 running Solaris 2.5) and you don't want to bother
compiling the library yourself, download the appropriate precompiled binary.
This package will also contain header files.
If there is not a precompiled binary for your
machine you need to download the source distribution
and you will need to compile the library; see "installation" below.
Whether or not you get
the sources, you will probably want a copy of the demo directory since
it contains lots of examples.
If you want a local copy of the documentation,
otherwise you can just use the links to Web-based documentation listed above.
The steps below create a new Unix directory
Depending on which distribution files
you downloaded, there will be doc,
src, and other subdirectories
Copy all the .tar
files to the directory in which you want to build the new
Move all of the distribution
files to your working directory and uncompress them, i.e.
for each distribution file with a name like
type "uncompress file.tar.Z".
Extract the library files from the tar files, i.e. for
every distribution file with a name
like "file.tar" type
"tar xvf file.tar".
The first invocation of the
command will create the
directory; subsequent invocations will add more files to the
NOTE: if you downloaded more than one binary, or if you want to compile
your own version of the library in addition to one or more precompiled
binaries, read the note about how to manage multiple binaries in
the README file that was unpacked with the sources.
If you downloaded the source distribution and want to compile
the library for your system, cd to
the src directory and
Now you can make the demo and application programs by typing
in the demo
directory and the various subdirectories under
You can now delete the tar files if you want to clean up
your working directory.
If you would like to be on our mailing list for updates and
other information about the library, please fill out the
form below and click the "submit" button (or send e-mail
directly to email@example.com).