续上篇

单精度(intel 编译器,不含mpi):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
source /home/software/intel/bin/iccvars.sh intel64
source /home/software/intel/bin/ifortvars.sh intel64
./configure --prefix=/home/software/fftw3_float_intel CC=icc F77=ifort --enable-shared --enable-static --enable-float --enable-sse --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp
make -j 8
make install

双精度(intel 编译器,不含mpi):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
source /home/software/intel/bin/iccvars.sh intel64
source /home/software/intel/bin/ifortvars.sh intel64
./configure --prefix=/home/software/fftw3_double_intel CC=icc F77=ifort --enable-shared --enable-static --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp
make -j 8
make install

双精度(openmpi):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
module load openmpi
./configure --prefix=/home/software/fftw3_double_openmpi --enable-shared --enable-static --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi
make -j 8
make install

双精度(mpich):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
module load mpich
./configure --prefix=/home/software/fftw3_double_mpich --enable-shared --enable-static --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi
make -j 12 && make install

单精度(openmpi):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
module load openmpi
./configure --prefix=/home/software/fftw3_float_openmpi --enable-shared --enable-static --enable-float --enable-sse --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi
make -j 12 && make install

单精度(mpich):
tar -zxf fftw-3.3.9.tar.gz
cd fftw-3.3.9/
module load mpich
./configure --prefix=/home/software/fftw3_float_mpich --enable-shared --enable-static --enable-float --enable-sse --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi
make -j 12 && make install

虽然 long double 是 C99 的标准,但你的编译器可能根本不支持该类型,或它并不能提供比 double 更高的精度。

12-26 13:36