Skip to content

using PFFT is causing error, not sure why!  #31

Open
@ahmad681

Description

@ahmad681

Hi,

I am following the example as in this thread just to make sure that everything works fine,
from mpi4py import MPI
from mpi4py_fft import PFFT, newDistArray
FFT = PFFT(MPI.COMM_WORLD, [64, 64, 64])
u = newDistArray(FFT, False, rank=1)
u_hat = newDistArray(FFT, True, rank=1)

but when I call PFFT(), the following error occurs,

PFFT(MPI.COMM_WORLD, [64, 64, 64])
Traceback (most recent call last):
File "", line 1, in
File "/home/ahmad68/.conda/envs/kmc/lib/python3.9/site-packages/mpi4py_fft/mpifft.py", line 315, in init
xfftn = FFT(pencil.subshape, axes, dtype, padding, backend=backend,
File "/home/ahmad68/.conda/envs/kmc/lib/python3.9/site-packages/mpi4py_fft/libfft.py", line 387, in init
self.fwd, self.bck = plan(self.shape, self.axes, self.dtype, transforms, kw)
File "/home/ahmad68/.conda/envs/kmc/lib/python3.9/site-packages/mpi4py_fft/libfft.py", line 73, in _Xfftn_plan_fftw
xfftn_fwd = plan_fwd(U, s=s, axes=axes, threads=threads, flags=flags)
File "/home/ahmad68/.conda/envs/kmc/lib/python3.9/site-packages/mpi4py_fft/fftw/xfftn.py", line 239, in rfftn
return get_planned_FFT(input_array, output_array, axes, kind, threads,
File "/home/ahmad68/.conda/envs/kmc/lib/python3.9/site-packages/mpi4py_fft/fftw/factory.py", line 106, in get_planned_FFT
return _fft.FFT(input_array, output_array, axes, kind, threads, flags,
File "mpi4py_fft/fftw/fftw_xfftn.pyx", line 153, in mpi4py_fft.fftw.fftw_xfftn.FFT.cinit
RuntimeError: Failure creating FFTW plan

thanks a lot,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions