| 18 | | There are some restrictions on the use of this software. First of |
| 19 | | all, the copyright for the individual programs remains with their |
| 20 | | authors (unless they have explicitly said otherwise). Second, we (the |
| 21 | | Glasgow Haskell project at University of Glasgow) retain the copyright |
| 22 | | to any changes made to the programs *and* to the collection of |
| 23 | | programs itself. Third, for 2.05, it would be dishonest to suggest |
| 24 | | that any results are related to the still-in-the-future "NoFib |
| 25 | | benchmark suite". So please do not make any such claims. |
| | 16 | To compare the results of multiple runs, use the program in |
| | 17 | [[GhcFile(utils/nofib-analyse)]]. Something like this: |
| 32 | | The file BUILDING provides some direction about setting up the suite, |
| 33 | | in order to run it. [NOTE: doesn't exist yet; see sketchy notes below] |
| | 23 | to generate a comparison of the runs in captured in `nofib-log-6.4.2` |
| | 24 | and `nofib-log-6.6`. When making comparisons, be careful to ensure |
| | 25 | that the things that changed between the builds are only the things |
| | 26 | that you ''wanted'' to change. There are lots of variables: machine, |
| | 27 | GHC version, GCC version, C libraries, static vs. dynamic GMP library, |
| | 28 | build options, run options, and probably lots more. To be on the safe |
| | 29 | side, make both runs on the same unloaded machine. |
| 39 | | == SKETCHY NOTES ================================================== |
| 40 | | |
| 41 | | Quick and dirty |
| 42 | | ~~~~~~~~~~~~~~~ |
| 43 | | |
| 44 | | Find a program you are interested in, make up a "makefile" by hand, |
| 45 | | and try it :-) |
| 46 | | |
| 47 | | |
| 48 | | Doing things properly |
| 49 | | ~~~~~~~~~~~~~~~~~~~~~ |
| 50 | | |
| 51 | | * This version of nofib only supports ghc-2.05, so if you try to use |
| 52 | | other versions of GHC or different Haskell systems, you're going to |
| 53 | | run into some obstacles. |
| 54 | | |
| 55 | | * Plop the nofib distribution inside the Glasgow fptools suite, i.e., |
| 56 | | unpack nofib at the toplevel at the same level as directories such as |
| 57 | | ghc/ and glafp-utils/. |
| 58 | | |
| 59 | | * Have a look in mk/config.mk.in to see what variables control the nofib setup. |
| 60 | | If you want to change these, put the new settings for them in the build-specific |
| 61 | | setup file, mk/build.mk |
| 62 | | |
| 63 | | * Run ./configure |
| 64 | | |
| 65 | | * Assuming you haven't built the compiler, you will need to do that first. |
| 66 | | Type "make boot" (or whatever make is called on your system) |
| 67 | | followed by "make all". |
| 68 | | |
| 69 | | * cd nofib/ |
| 70 | | |
| 71 | | * Ready the nofib suite for some use, by running `make boot', which |
| 72 | | takes care of creating Makefile dependendencies. |
| 73 | | |
| 74 | | * If all that worked -- and you'll know if it did -- then do: |
| 75 | | |
| 76 | | % make -k >& make.log # to compile everything; save log for study |
| 77 | | % make -k runtests >& runtests.log # also for study |
| | 35 | There are some options you might want to tweak; search for nofib in |
| | 36 | [[GhcFile(mk/config.mk)]], and override settings in `mk/build.mk` as usual. |