|
1 |
| -# benchmark |
| 1 | +This repo is obsolete |
2 | 2 |
|
3 |
| -BEAST benchmarking data |
4 |
| - |
5 |
| -run `perl process.pl` to generate XML files in the "generated" directory |
6 |
| - |
7 |
| -It also produces a script `/generated/_experiment.sh`. This assumes that |
8 |
| -the root directory of this repository contains scripts for running BEAST 1 & 2, |
9 |
| -named `beast1` and `beast2` respectively. |
10 |
| - |
11 |
| -Example `beast1` script: |
12 |
| - |
13 |
| -```bash |
14 |
| -export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/cuda/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib |
15 |
| -java -Djava.library.path=/usr/local/lib -jar /home/remco/data/beast/benchmark/beast1.8.3.jar $* |
16 |
| -``` |
17 |
| - |
18 |
| -Example `beast2` script: |
19 |
| -```bash |
20 |
| -export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/cuda/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib |
21 |
| -java -Djava.library.path=/usr/local/lib -jar /home/remco/data/beast/benchmark/beast2.4.0.jar $* |
22 |
| -``` |
23 |
| - |
24 |
| -These assume that beast1.8.3.jar and beast2.4.0.jar are in the main folder (change |
25 |
| -the path to what is appropriate for your computer). |
26 |
| - |
27 |
| -Use `chmod a+x ./generated/_experiment.sh` to make the script executable. |
28 |
| - |
29 |
| -Timing information will be recorded in files times1.dat and times2.dat within each of the |
30 |
| -generated directories `singleThread`, `doubleThread`, `fourThread` and `GPU`. |
31 |
| - |
32 |
| -Run the perl script `summarise*.pl` specific to your OS to produce the summary. |
33 |
| - |
34 |
| -If you've run the `summariseLinux.pl` script, a table is produced in `data_frame.txt` |
35 |
| -which can be read into R. This can be visualized using the `plot_summary.R` R script. |
36 |
| - |
37 |
| - |
38 |
| -For Mac OS, run `perl processMac.pl`. Time will be logged in _time.txt_, and screen logs will be in _screen1.dat_ and _screen2.dat_. |
39 |
| - |
40 |
| -To remove noisy texts from _time.txt_ using the script `cleanTimeLogMac.sh` for all files or the following command for a single file: |
41 |
| -```bash |
42 |
| -sed -i.bak '/.*Fail.*/d;/.*line.*/d;/.*ile.*/d;/.*WARN.*/d;/.*Igno.*/d;/.*With.*/d;/.*Using.*/d;/.*End.*/d;/^\s*$/d' time.txt |
43 |
| -``` |
44 |
| - |
45 |
| -Use R script `reportTime.R` to plot figures and print tables. |
| 3 | +BEAST benchmarking data are maintained here: https://github.com/CompEvol/benchmark |
0 commit comments