Joe Taylor <[email protected]> writes:

> One of the changes is to make use of the "wisdom" feature in FFTW.  This 
> requires running the program fftwf-wisdom[.exe] once, at the time of 
> program installation.  A batch script "wisdom1[.bat]" can be used to do 
> this; I added an example of such a file to the directory
> .../branches/wsjt/lib.  When run, it creates a file fftwf_wisdom.dat 
> that should go in the .../bin installation directory.
>
> Bill, could you suggest the best way to incorporate the necessary 
> features in the CMake script?  On Windows it will need to install
> fftwf-wisdom.exe and wisdom1.bat along with other executables in the 
> .../bin directory, and the installer should offer to run widwom1.bat, 
> warning the user that it will take several minutes to complete.

There's a wrinkle in terms of packaging systems.  I should point out
that my bias is that most uses of widely-used software are via packaging
systems of some kind; only the hard-core build from source themselves.

Package building consists of compiling from source and installing
binaries in a staging area that will later be unpacked into some other
system, typically /usr/bin on Linux, or /usr/pkg/bin on pkgsrc.
Building is typically done with cpu flags to support a range of
processors, essentially those that can run the operating system the
package is for.

So, the wisdom step should very likely be runnable from an installed
package, rather than at build time, so that things can be optimized for
the system each user is running.

It sounds like the rest of the thread discusses the above and talks
about having wisdom generation be a side effect of running the code the
first time, and that sounds like a good approach.  A wrinkle is that
each user that runs the code may accumulate their own wisdom file,
because the package binaries are typically in places only root can
write.  But that seems like an issue with little to no practical
problems.

73 de n1dam

Attachment: pgp6qlF6SBm3E.pgp
Description: PGP signature

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to