Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

Calling FFTW2 Interface Wrappers from Fortran

The FFTW2 wrappers to
Intel® MKL
provide the following subroutines for calling from Fortran:
call fftw_f77_create_plan
(
plan
,
n
,
dir
,
flags
)
call fftw_f77
(
plan
,
howmany
,
in
,
istride
,
idist
,
out
,
ostride
,
odist
)
call fftw_f77_one
(
plan
,
in
,
out
)
call fftw_f77_threads
(
nthreads
,
plan
,
howmany
,
in
,
istride
,
idist
,
out
,
ostride
,
odist
)
call fftw_f77_threads_one
(
nthreads
,
plan
,
in
,
out
)
call fftw_f77_destroy_plan
(
plan
)
call fftwnd_f77_create_plan
(
plan
,
rank
,
n
,
dir
,
flags
)
call fftw2d_f77_create_plan
(
plan
,
nx
,
ny
,
dir
,
flags
)
call fftw3d_f77_create_plan
(
plan
,
nx
,
ny
,
nz
,
dir
,
flags
)
call fftwnd_f77
(
plan
,
howmany
,
in
,
istride
,
idist
,
out
,
ostride
,
odist
)
call fftwnd_f77_one
(
plan
,
in
,
out
)
call fftwnd_f77_threads
(
nthreads
,
plan
,
howmany
,
in
,
istride
,
idist
,
out
,
ostride
,
odist
)
call fftwnd_f77_threads_one
(
nthreads
,
plan
,
in
,
out
)
call fftwnd_f77_destroy_plan
(
plan
)
call rfftw_f77_create_plan
(
plan
,
n
,
dir
,
flags
)
call rfftw_f77
(
plan
,
howmany
,
in
,