续上篇
单精度(使用intel 编译器):
cd /home/share/
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_mpi CC=icc F77=ifort --enable-shared --enable-static --enable-sse --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi MPICC=mpiicc --enable-float
make -j2 && make install &&
vi /home/software/modules/fftw3_float_intel_mpi
-
#%Module1.0
-
-
-
set FFTW3 /home/software/fftw3_float_intel_mpi
-
prepend-path PATH ${FFTW3}/bin
-
prepend-path LD_LIBRARY_PATH ${FFTW3}/lib
-
prepend-path INCLUDE ${FFTW3}/include
cd /home/share/
rm -rf fftw-3.3.9
双精度(使用intel 编译器):
cd /home/share/
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./configure --prefix=/home/software/fftw3_double_intel_mpi CC=icc F77=ifort --enable-shared --enable-static --enable-sse2 --enable-avx --enable-avx2 --enable-fma --enable-threads --enable-openmp --enable-mpi MPICC=mpiicc
make -j2 && make install
vi /home/software/modules/fftw3_double_intel_mpi
-
#%Module1.0
-
-
-
set FFTW3 /home/software/fftw3_double_intel_mpi
-
prepend-path PATH ${FFTW3}/bin
-
prepend-path LD_LIBRARY_PATH ${FFTW3}/lib
-
prepend-path INCLUDE ${FFTW3}/include
cd /home/share/
rm -rf fftw-3.3.9
虽然 long double 是 C99 的标准,但你的编译器可能根本不支持该类型,或它并不能提供比 double 更高的精度。
阅读(3022) | 评论(0) | 转发(0) |