Personal tools

Difference between revisions of "Fftw3"

From hpcwiki

Jump to: navigation, search
(Created page with "yum install fftw yum install fftw-devel.x86_64 Install fftw3 from sources since the package is not available in yum: wget ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5.tar.gz tar...")
 
Line 1: Line 1:
yum install fftw
+
Install stantard RPM for FFTW  library (not epel). As superuser:
  
yum install fftw-devel.x86_64
+
# yum install fftw
 +
# yum install fftw-devel.x86_64
  
Install fftw3 from sources since the package is not available in yum:
+
Install fftw3 from sources since the FFTW3 package is not available in yum:
  
wget ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5.tar.gz
+
$ wget ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5.tar.gz
 
+
$ tar -xzvf fftw-3.3.5.tar.gz
tar -xzvf fftw-3.3.5.tar.gz
+
$ cd fftw-3.3.5
 
+
$ ./configure --with-g77-wrappers --enable-mpi --enable-float --enable-single F77=mpif77
cd fftw-3.3.5
+
$ make
 
+
$ sudo make install
./configure --with-g77-wrappers --enable-mpi --enable-float --enable-single F77=mpif77
+
 
+
make
+
 
+
make install
+

Revision as of 15:16, 20 April 2017

Install stantard RPM for FFTW library (not epel). As superuser:

# yum install fftw
# yum install fftw-devel.x86_64

Install fftw3 from sources since the FFTW3 package is not available in yum:

$ wget ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5.tar.gz
$ tar -xzvf fftw-3.3.5.tar.gz
$ cd fftw-3.3.5
$ ./configure --with-g77-wrappers --enable-mpi --enable-float --enable-single F77=mpif77
$ make
$ sudo make install