Open colinjcotter opened 3 years ago
Hi Colin, Not sure I can be of much help. Do you install mpi4py_fft from source? And you actually find the FFTW libraries during setup, but there are missing symbols? We do make use of both FFTW_INCLUDE_DIR and FFTW_LIBRARY_DIR in the setup.
Yes, PETSc installs mpi4py_fft from source. It finds the FFTW libraries during setup, but trying to use mpi4py_fft then reports that stuff is missing.
From: Mikael Mortensen @.> Sent: 30 September 2021 14:37 To: mpi4py/mpi4py-fft @.> Cc: Cotter, Colin J @.>; Author @.> Subject: Re: [mpi4py/mpi4py-fft] fftw_threads symbols (#13)
Hi Colin, Not sure I can be of much help. Do you install mpi4py_fft from source? And you actually find the FFTW libraries during setup, but there are missing symbols? We do make use of both FFTW_INCLUDE_DIR and FFTW_LIBRARY_DIR in the setup.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mpi4py/mpi4py-fft/issues/13#issuecomment-931330338, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABOSV4WGG4FJI2UB4GTEO3TUERRYTANCNFSM5FB7K5YA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
OK, so I discovered that this issue only arises if I pip install mpi4py-fft from pypi and not if I clone the git repository and pip install from there.
I get an import error when executing: from mpi4py_fft.fftw import fftw_xfftn
In [1]: from mpi4py_fft.fftw import fftw_xfftn
ImportError Traceback (most recent call last)