next up previous contents
Next: Overview Up: Installation Previous: Unpacking   Contents

Environment Variables

Here follows a copy of the README file to give you an idea of the preparation needed to get PerlGP ready for use. I hope you agree that it is not much work. For the latest instructions, always refer to the README file in the latest distribution.

-----------------
The PerlGP system  -  author/copyright: Bob MacCallum 2002
-----------------

To run the demos, first set the following environment variables
(preferably in your shell startup file)

##############################
# PerlGP environment variables (bash style)

# where you unpacked the PerlGP package
PERLGP_BASE=~/perlgp

# probably don't need to change these two
PERLGP_LIB=$PERLGP_BASE/lib
PERLGP_BIN=$PERLGP_BASE/bin

## for best results, add $PERLGP_BIN to your PATH ##

# a LOCAL temporary directory (you'll need to clean up manually afterwards)
PERLGP_SCRATCH=/scratch

# a network directory for storing 'checkpoint/restart' populations and
# migrants between machines.  leave empty if you're not doing this
PERLGP_POPS=

# if you use a queueing system, give the name of the environment
# variable which contains the job id
PERLGP_JOBID=

#
##############################


then you simply go into a demo directory and type

perlgp-run.pl

(preferably backgrounding it)

for more, see the README files in the demo directories.



Bob MacCallum 2003-02-03