FFTW, when implemented in modern Fortran, uses a wrapper subroutine (I believe) called dfftw_execute_dft to access the fftw_execute_dft function. Therefore, using the drop-in cuFFTW library gives the following link error:
undefined reference to `dfftw_execute_dft_’
What is the best way to fix this? Is there a drop-in solution for modern Fortran?