I am currently attempting to add support for the cufft library within a Fortran program. I am using a wrapper that works for most calls to the wrapped routines, however, in one case (a call to cufftplanmany) I am experiencing the following crash at runtime:
start of GPU plans
[UOS-205126:04763] *** Process received signal ***
[UOS-205126:04763] Signal: Segmentation fault (11)
[UOS-205126:04763] Signal code: Address not mapped (1)
[UOS-205126:04763] Failing at address: 0x37
kaw test 1
[UOS-205126:04763] *** End of error message ***
mpirun noticed that job rank 0 with PID 4763 on node UOS-205126 exited on signal 11 (Segmentation fault).
It seems as though it is related to the values I am using for istride, idist, ostride and odist (as changing them to 0, 1, 0 and 1 respectively executes without complaint), making me wonder if execution will fail if these values are incorrect, resulting in a plan that would attempt to access memory outside of the defined array. Can anybody advise me if this may be the case?
Thank you for your time,
Karl