Running benchmarks -- "runbench" cannot find "gexpr" with my $PATH

Will Galway galway at
Wed May 11 18:21:02 UTC 2016

I've just run the GMP benchmark utility, downloaded from

Invoking runbench as "./runbench", on my first attempt I kept getting 
the message "./runbench: gexpr: not found". Looking at runbench I see 
that gexpr is invoked as "gexpr" and not as "./gexpr". Rightly or 
wrongly, but being paranoid, I do not include "." in my PATH variable.

Of course, after editing runbench to substitute "./gexpr" for "gexpr" 
everything worked fine.

I hate to call this a bug, but I found it to be infelicitous.  Perhaps 
runbench could be modified, or a few words could be added to the README 
file to indicate that you should have "." in your PATH variable?

Please let me know if you need any more information about this.

Thanks!  (And a very belated "Happy 25th Anniversary".  I can't recall 
when I first discovered GMP, but I've been a happy user, although not a 
heavy user, ever since.)

-- Regards, Will

More information about the gmp-bugs mailing list