Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20048 - request for ebuild update for FFTW (now at version 3.0)
Summary: request for ebuild update for FFTW (now at version 3.0)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22241
  Show dependency tree
 
Reported: 2003-04-27 10:35 UTC by BS
Modified: 2003-12-31 10:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild using fftw3 as package name (fftw3-3.0.ebuild,2.16 KB, text/plain)
2003-06-02 00:25 UTC, Torben Hohn (RETIRED)
Details
fftw ebuild for 3.0, using slot '3.0' and no MPI (fftw-3.0.ebuild,3.75 KB, text/plain)
2003-06-18 14:21 UTC, Ingo Luetkebohle
Details
Another ebuild for fftw-3.0.1 (fftw-3.0.1.ebuild,2.44 KB, text/plain)
2003-07-26 11:49 UTC, Sam Yates
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BS 2003-04-27 10:35:41 UTC
Just a request to update FFTW to the new and improved version 3.0 that was
recently released at http://www.fftw.org

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-05-10 18:36:34 UTC
Hi BS.

Just a qiuck note, that I noticed this and looking at the upgdare right now.
Its not quite straightforward though - 3.0 is not API compatible with earlier versions. I need to check if it can peacefully coexist with 2.x ones or some stuff will have to be moved around. Any remarks/experience in dealing with new version are appreciated.
Also, 3.0 does not yet support mpi, which is required (optionally) by some packages in portage. Well, it yet remains to be seen if these packages can be cmpiled against new version at all actually..
So, it's gonna take some time..

George
Comment 2 BS 2003-05-10 22:13:33 UTC
Ya, its not API compatiable.  All the reasons are discussed in the FAQ at the FFTW site - I guess you saw those.  There's also an upgrade guide which is straight forward.  I doubt that many programs written for 2 will work with 3.  However, it seems that 3 is far superior in many respects.  I'm not sure what the best way to deal with the upgrade - probably in seperate slots.

Thanks George.  I'll post if anything interesting comes up.

BS
Comment 3 Torben Hohn (RETIRED) gentoo-dev 2003-06-01 22:53:26 UTC
debian uses fftw3 as a new package name.
swh-plugins now supprts building against fftw3 .

i would vote for a new package name because fixing all packages which depend
on fftw2 would be too much work ithink.

Comment 4 Torben Hohn (RETIRED) gentoo-dev 2003-06-02 00:25:22 UTC
Created attachment 12657 [details]
ebuild using fftw3 as package name

just in case you want to use fftw3 for package name.
There are some configure options which should be set.

and a different tar file for powerpc.
but this one here already compiles...
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2003-06-09 12:35:59 UTC
Hi Torben, BS.

Sorry I am a bit behind on this one - fftw-3 is not yet really ready to replace fftw-2 in every situation, particularly mpi is not supported yet, so this one was lagging a bit :(. Anyway with the ebuild submitted now I should get to it shortly - within a few days.

The biggest issue is to make sure that fftw-3 and fftw-2 can be installed side-by-side and not overwrite any important files of another one.. Missing that is really a bad thing, as some people might want to use advansed features of fftw-3 but will still need to keep fftw-2 around. 
On the other hand, having done this separation it really doesn't make sense to create another package dir and rename a package because of the change, just stamp new SLOT on it - this is why we introduced SLOTs after all!

>debian uses fftw3 as a new package name.
Well,they are binry distro, so they have different issues with naming and I think they cannot do what we can with SLOTs.
As for amount of work - I don't think there are more than 10 ebuilds in the tree that would need >=fftw-2 replaced by =fftw-2*, this is not such a big deal and can even be scripted pretty easily should there be a need. I'll help you out in that.

Ok, I'll take a look at this ebuild shortly, so more comments will be coming, but I wanted to comment on the naming issue, as it is independent of what I will see in ebuild.

George
Comment 6 Ingo Luetkebohle 2003-06-18 14:21:30 UTC
Created attachment 13483 [details]
fftw ebuild for 3.0, using slot '3.0' and no MPI

very simple forward port of the 2.1.5 ebuild.  none of the new configure
options
have been investigated.  MPI is disabled as this is not supported in 3.0, yet.
Comment 7 Ingo Luetkebohle 2003-06-18 14:26:30 UTC
oh, read the history after submitting the patch.  anyway, it looks to me as if FFTW 2 and 3 can coexist peacefully.  Headers and libraries have, for the most part, different names.  I'm not sure about 'dfftw.h' but it looks fine.
Comment 8 Sam Yates 2003-07-26 11:49:59 UTC
Created attachment 15050 [details]
Another ebuild for fftw-3.0.1

Was looking at installing fftw-3.0.1 and found this enhancement request ...

I've attached an ebuild which seems to work and doesn't clobber fftw-2.x;
it applies --enable-sse, --enable-sse2 and --enable-3dnow as according to
use variables.

With gcc 3.2.3 and -march=pentium3, -O3 and sse (or sse2) will produce
bad code. The current ebuild has been confirmed to work with gcc 3.2.3,
-march=pentium3 and -march=pentium4 with --enable-sse and --enable-sse2
with the -O2 optimization flag forced. (At least it was fine according to
make check.)

Given the sensitivity on CFLAGS, perhaps a strip-flags is in order?
I'm guessing it really needs to be tested on other architectures/cpus too.
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-08-23 21:32:41 UTC
Hi guys.

Thanks for the ebuilds! And sorry for the delay. Looks like bugzila again tried to save on notification emails :(, just got here on a regular sweep.

Anyway, I processed ebuilds, did few cleanups (most notably: function filter-mfpmath has been added to flag-o-matic.eclass and it now should be used for filtering of this one) and committed. Please test.

George
Comment 10 George Shapovalov (RETIRED) gentoo-dev 2003-12-31 10:55:40 UTC
reclosing the bug