Step 1: Compiling FFTW 3.3.3 (Single Precision) with OpenMPI and OpenMP.
After unpacking FFTW 3.3.3, you may want to use the flags
# ./configure CC=icc --enable-float --enable-threads --enable-openmp \ --enable-mpi MPICC=mpicc \ LDFLAGS=-L/usr/local/openmpi/intel/lib CPPFLAGS=-I/usr/local/openmpi/intel/include \ --prefix=/usr/local/fftw-3.3.3-single # make -j8 # make installInside /usr/local/fftw-3.3.3-single/lib, you should see at least the files below
libfftw3f.a libfftw3f_mpi.a libfftw3f_omp.a libfftw3f_threads.a .... ....
Step 2: Compiling FFTW 3.3.3 (Double Precision) with OpenMPI and OpenMP
# ./configure CC=icc --enable-threads --enable-openmp \ --enable-mpi MPICC=mpicc \ LDFLAGS=-L/usr/local/openmpi/intel/lib CPPFLAGS=-I/usr/local/openmpi/intel/include \ --prefix=/usr/local/fftw-3.3.3-single # make -j8 # make installInside /usr/local/fftw-3.3.3-double/lib, you should see at least the files below
libfftw3.a libfftw3_mpi.a libfftw3_omp.a libfftw3_threads.a .... ....
No comments:
Post a Comment