This is set up to test an already installed mpir library, afaict. I
posted a different modification a few days ago which allows to test a
non-installed mpir library (i.e. just compiled). It also
(automatically) works with older versions of mpir which use "gmp" for
the library name (e.g. 0.9) and migth work with gmp itself (didn't
try).

I've uploaded it to the googlegroups site (mpirbench-0.1-gtl.tar).

It may be worth making a version which detects whether the directory
passed in is a prefix for an installed version of mpir/gmp, or a
source directory for the compiled version of mpir/gmp, and default to
system-wide version of mpir/gmp.

For bonus points, some other ideas:
 - use a temporary directory for compile and dumping files, so this
can be executed concurrently (same or different machines sharing the
dir).
 - accept a path to the tarball of mpir/gmp, then untar it, configure,
compile, and benchmark.
 - add a "make bench" target to mpir so that it runs the benchmark
provided a literal copy of mpirbench is untared the source dir. Then,
ship mpirbench inside the mpir tarball, even if it's still shipped
independently. [this would be the easiest, one-shot way for users to
actually use it, i.e. just press *one* button].

Gonzalo

On Wed, Mar 18, 2009 at 12:37 PM, Mariah Lenox <mariah.le...@gmail.com> wrote:
>
> I have uploaded mpirbench-0.2.  This is a minor modification
> of Bill Hart's mpirbench-0.1 - taking out references to GMP
> and adding a makefile configuration.
>
> Mariah
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to