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).

  1. 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
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/fftw
  3. Unzip and Untar the file fftw-3.1.2.tar.gz
  4. Change directory to fftw-3.1.2
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/fftw/3.1.2/gcc41 --enable-shared
  6. Execute make
  7. Execute make install
  8. Execute mkdir ../3.1.2/gcc41/include/fftw
  9. Execute mv ../3.1.2/gcc41/include/*.h ../3.1.2/gcc40/include/fftw/
  10. 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).

  1. 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
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw
  3. Unzip and Untar the file fftw-3.1.2.tar.gz
  4. Change directory to fftw-3.1.2
  5. Make sure fink isn't in $PATH (/sw/bin)
  6. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/fftw/3.1.2/gcc40 --enable-shared
  7. Execute make
  8. Execute make install
  9. Execute mkdir ../3.1.2/gcc40/include/fftw
  10. Execute mv ../3.1.2/gcc40/include/*.h ../3.1.2/gcc40/include/fftw/
  11. Execute install_name_tool -id libfftw3.3.dylib ../3.1.2/gcc40/lib/libfftw3.3.1.2.dylib
  12. Leave and erase the fftw-3.1.2 directory
  • No labels