- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BUG:
MKL FFT crashes (Segmentation faults) for certain FFT sizes (for example 2496, when using complex numbers, )
crash observed with cpp_studio_xe_2013_update1_intel64.tgz
when compiled with icc and with gcc.
crash not observed when compiled with icc and -mkl=sequentail
I am running it on a Intel® Xeon® Processor E5-2670 (8 cores per CPU)
for(unsigned nrOfSamples = 1;nrOfSamples <10000;++nrOfSamples );
{
std::cout << "nrOfSamples " << nrOfSamples << std::endl;
fflush(NULL);
MKL_LONG status;
DFTI_DESCRIPTOR_HANDLE _fft;
// Create the MKL FFT descriptor
status = DftiCreateDescriptor(&_fft, DFTI_SINGLE, DFTI_COMPLEX,1, nrOfSamples);
checkStatus(status);
// The FFT is now fully specified
status = DftiCommitDescriptor(_fft);
checkStatus(status);
// allocate buffer (make buffer too big, just to be sure that inplace FFT does not go beyond allocate memory
std::complex<float> *x = new std::complex<float>[nrOfSamples*100];
// Calculate forward FFT
status = DftiComputeForward(_fft, x);
checkStatus(status);
// cleanup
delete[] x;
status = DftiFreeDescriptor(&_fft);
checkStatus(status);
}
-------------------------------------------------------------------
installed : cpp_studio_xe_2013_update1_intel64.tgz
OS : opensuse 12.2
-------------------------------------------------------------------
ICC compiler:crash observed
icc link options : -L$(MKLROOT)/lib/intel64 -lmkl_rt -lpthread -lm
compile options -mkl=parallel : crash ( Signal name : SIGSEGV, Signal meaning : Segmentation fault)
Note : compile options -mkl=sequentail : no crash observed
-------------------------------------------------------------------
GCC compiler: 4.7.1 : also crashes observed
-------------------------------------------------------------------
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any idea when a fix is planned ? for which version ?
Dirk-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dirk-Jan, please check the example with the latest 11.0 update 5. I don't see the problem now.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page