mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 12:53:47 +00:00
Estimated hours taken: 0.2
Changed the configuration files so that the program will work without
any additional configuration.
mercury/extras/gator/evaluate.conf:
Instead of using the benchmark programs in the benchmarks
directory (which the user might not have access to), use
mercury/samples/hello.m as the benchmark program.
mercury/extras/gator/evolve.conf:
Since the evaluate.conf file was changed so that there is
only one benchmark program, we need to change the length of
the first term.
mercury/extras/gator/gator.conf:
In the previous revision, the hosts sophie, boadicea, surprise,
lively and leopard were used. Rather than use these hosts,
which are only available to Mercury developers, use `hostname`
instead.
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
#
|
|
# num_hosts: the number of hosts available for benchmarking. This may
|
|
# include the host from which gator is being run, if it is also
|
|
# being used to run the benchmarks.
|
|
#
|
|
|
|
num_hosts=1
|
|
|
|
#
|
|
# For each host, the following variables need to be defined.
|
|
#
|
|
# host$i: the name of the host we are connecting to. This is passed as a
|
|
# command-line argument to ssh(1). Make sure you have a copy of
|
|
# the host's SSH public key in your cache before you run gator.
|
|
#
|
|
# workspace$i: the path to a directory containing gator. This is used
|
|
# to access the dotime and evaluate.conf files. Note that this is
|
|
# a read-only workspace, and the only files that are read are
|
|
# dotime and evaluate.conf.
|
|
#
|
|
# benchmarks$i: similar to workspace$i, except it contains the
|
|
# benchmarks directory from CVS. Note that this is not a
|
|
# read-only workspace, so each host must have its own directory.
|
|
#
|
|
# path$i: the path to the directory containing the compiler. This is
|
|
# pre-pended to $PATH in the evaluate script.
|
|
#
|
|
|
|
host1=`hostname`
|
|
workspace1="$PWD"
|
|
benchmarks1="$PWD"/../../samples
|
|
path1=`which mmc | xargs dirname`
|