gfxgfx
 
Please login or register.

Login with username, password and session length
logo
 
gfx gfx
gfx
1278 Posts in 405 Topics by 636 Members - Latest Member: mikemouris April 20, 2014, 05:52:31 AM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building FFTW on 32-bit OS X
gfx
gfxgfx
 

Author Topic: Building FFTW on 32-bit OS X  (Read 1431 times)

forumadmin

  • Administrator
  • Full Member
  • *****
  • Posts: 234
Building FFTW on 32-bit OS X
« on: March 27, 2012, 09:24:10 AM »
This topic provides instructions for building FFTW on 32-bit OS X with Pro Fortran V13.0.

1. Download the package. At the time of the post, the most current version was FFTW 3.3.3 and the file name was fftw-3.3.3.tar.gz.

http://www.fftw.org

2. Build and install the packages. Two builds are required; one for the 64-bit floating point and one for 32-bit floating point. You will need root privileges to install. If you do will not be using the MPI version of the library, remove the "--enable-mpi" option.

3. 64-bit floating point. Issue the following commands:

export F77=f90
export FFLAGS="-O3 -m32"
export CFLAGS="-O3 -m32"
export MPICC=mpicc
./configure --enable-threads --enable-sse2 --enable-mpi
make
sudo make install

Test the package:

make check

4. 32-bit floating point. Issue the following commands:

export F77=f90
export FFLAGS="-O3 -m32"
export CFLAGS="-O3 -m32"
export MPICC=mpicc
./configure --enable-threads --enable-sse2 --enable-mpi --enable-single
make
sudo make install

Test the package:

5. Run the extended tests:

cd tests
make bigcheck

If the tests are successful, the following string will be printed:

--------------------------------------------------------------
         FFTW transforms passed big tests!
--------------------------------------------------------------

Note to Pro Fortran V11.5 users. Pro Fortran V11.5 can be used to build this package, however, only the legacy Fortran 77 interfaces can be used to access the library. The Fortran 2003 interfaces cannot be used.
« Last Edit: June 07, 2013, 05:39:13 AM by forumadmin »

Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building FFTW on 32-bit OS X
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!