3.1.2
These are instructions for building FFTW 3.1.2 for the various OSes supported.
redhat5-i686-64bit
These instructions should be performed as the glastrm user on a machine running redhat 5 in 64 bit mode (noric15 as of this writing).
- Download FFTW 3.1.2 from ftp://ftp.fftw.org/pub/fftw/old/fftw-3.1.2.tar.gz and save it to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw if it doesn't exist
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/fftw
- Unzip and Untar the file fftw-3.1.2.tar.gz
- Change directory to fftw-3.1.2
- Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/fftw/3.1.2/gcc41 --enable-shared
- Execute make
- Execute make install
- Execute mkdir ../3.1.2/gcc41/include/fftw
- Execute mv ../3.1.2/gcc41/include/*.h ../3.1.2/gcc40/include/fftw/
- Leave and erase the fftw-3.1.2 directory
leopard-i386-32bit
These instructions should be performed as the glastrm user on a machine running leopard (bldmac02 as of this writing).
- Download FFTW 3.1.2 from ftp://ftp.fftw.org/pub/fftw/old/fftw-3.1.2.tar.gz and save it to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw if it doesn't exist
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw
- Unzip and Untar the file fftw-3.1.2.tar.gz
- Change directory to fftw-3.1.2
- Make sure fink isn't in $PATH (/sw/bin)
- Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw/3.1.2/gcc40 --enable-shared
- Execute make
- Execute make install
- Execute mkdir ../3.1.2/gcc40/include/fftw
- Execute mv ../3.1.2/gcc40/include/*.h ../3.1.2/gcc40/include/fftw/
- Execute install_name_tool -id libfftw3.3.dylib ../3.1.2/gcc40/lib/libfftw3.3.1.2.dylib
- Leave and erase the fftw-3.1.2 directory