'FFTW'에 해당되는 글 2건

  1. 2018.10.17 [리눅스] FFTW 3.3.7 소스코드 설치 (intel compiler, intel mpi, ver. 2017)
  2. 2018.10.17 [리눅스] FFTW 2.1.5 소스코드 설치 (intel compiler, intel mpi, ver. 2017)

[리눅스] FFTW 3.3.7 소스코드 설치 (intel compiler, intel mpi, ver. 2017)

In the world/컴퓨터 2018. 10. 17. 10:39

1. 설치 환경

CPU: intel skylake
OS: CentOS 7.3
컴파일러: intel 2017
MPI: impi 2017

2. 설치 과정

(1) 소스 코드 다운로드: http://www.fftw.org/download.html
(2) configure 파일 수정

- Intel MPI C 컴파일 명령어 추가

  (line 13951)

원본: for ac_prog in mpicc hcc mpcc mpcc_r mpxlc
수정: for ac_prog in mpiicc mpicc hcc mpcc mpcc_r mpxlc

(3) configure 실행

$ tar xvzf fftw-3.3.7.tar.gz
$ cd fftw-3.3.7
$ export CXX=mpiicpc
$ export CC=mpiicc
$ export F77=mpiifort
$ export FC=mpiifort
$ export F90=mpiifort
$ export CFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export FFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export FCFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export CXXFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ ./configure --prefix=/opt/fftw2 \
--enable-shared=yes --enable-threads --enable-mpi --with-openmp

※ prefix 옵션은 설치할 경로로 설정

(4) 설치

$ make
$ make install

끝.

:

[리눅스] FFTW 2.1.5 소스코드 설치 (intel compiler, intel mpi, ver. 2017)

In the world/컴퓨터 2018. 10. 17. 10:33
1. 설치 환경

CPU: intel skylake
OS: CentOS 7.3
컴파일러: intel 2017
MPI: impi 2017

2. 설치 과정

(1) 소스 코드 다운로드: http://www.fftw.org/download.html
(2) configure 파일 수정

- OpenMP 옵션을 intel 컴파일러 옵션에 맞게 수정
  (line 12433, 12476, 12553, 12596)

원본: CFLAGS="$save_CFLAGS -mp"
수정: CFLAGS="$save_CFLAGS -qopenmp"

- Intel MPI C 컴파일 명령어 추가
  (line 13951)

원본: for ac_prog in mpicc hcc mpcc mpcc_r mpxlc
수정: for ac_prog in mpiicc mpicc hcc mpcc mpcc_r mpxlc

(3) configure 실행

$ tar xvzf fftw-2.1.5.tar.gz
$ cd fftw-2.1.5
$ export CXX=mpiicpc
$ export CC=mpiicc
$ export F77=mpiifort
$ export FC=mpiifort
$ export F90=mpiifort
$ export CFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export FFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export FCFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ export CXXFLAGS="-O3 -ip -ftz -xCORE-AVX512 -fPIC -shared-intel"
$ ./configure --prefix=/opt/fftw2 \
--enable-shared=yes --enable-threads --enable-mpi --with-openmp

※ prefix 옵션은 설치할 경로로 설정

(4) 설치

$ make
$ make install

끝.


: