3D fft FORTRAN

spb

Registered
Hi,

I need a 3D fft library for the Macintosh that is FORTRAN based.

fftw (with fma) is suppose to provide this, but the binary install does not provide the FORTRAN part of the library. When i try to build it from scratch (in Panther) using the g77 options in configure I'm told:

Couldn't figure out how to link C and Fortran; switching to --disable-fortran

I've invested about a week of time trying to figure out how to solve this and can't seem to get it right.

The large software package that I'm trying to port from Unix to Mac is all in FORTRAN and I don't want to have to deal with linking C and FORTRAN.

The Macintosh vDSP vecLibs are only 1D and 2D.

The fft is only taken once during the calculation so it doesn't have to be a fast fft routine, just one that is accurate.

I've looked at the routine in Numerical Recipes, but this project is GPL'd and I don't think that the routines from NR can be distributed without the publisher's consent.

Has anyone been able to compile fftw using g77 on Panther? Is there another 3D fft fortran library that is compatible with GPL that I can use?

Maybe I'm just being lazy and I should sit down and write one, but it seems as if there must be something already built.

Thanks,
sb
 

Viro

Registered
Why not try installing it via Fink? fftw used to compile fine when I used fink under Panther.
 
Top