FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.76k stars 667 forks source link

`tests/bench` does not honor -v<N> for verbose #250

Closed hominhquan closed 3 years ago

hominhquan commented 3 years ago

I see that setting -v<N> to tests/bench does not produce any verbose message, whereas it is expected to "output the created plans with fftw_print_plan" - according to https://github.com/FFTW/fftw3/blob/master/tests/README#L42-L45:

$ tests/bench -oestimate --verify of4096 -v3
matteo-frigo commented 3 years ago

Try -v3 before of4096.

tests/bench is old-school unix: options must come before non-option arguments.

hominhquan commented 3 years ago

It should be even before --verify

$ tests/bench -oestimate --verify -v3 of4096
bench: problem.c:96: assertion failed: isdigit(*s)
$ tests/bench -oestimate -v3 --verify of4096
# get plan info, flops count and reporting etc. 

Thanks for your reply. I will change my commands accordingly.