| Thread Tools | Search this thread |
|---|
| david.sallngc.com | July 7, 2009 11:39 AM PDT Errors using MKL FFTW, OpenMP, and Visual Fortran 9.1 | ||||
Hi! I am getting data errors when using the Intel MKL FFTW libraires and Fortran code compiled using OpenMP. I am generating a mexfunction for Matlab and am using the Intel 9.1 Visual Fortran compiler for Windows and the Intel MKL 10.1.3.028 libraires (I must use the version 9.1 compiler due to restrictions from the version of Matlab I am using). I am generating a static build of my mexfunction using the command, > mex foo.f90 'c:\program files\intel\mkl\10.1.3.028\ia32\lib\fftw3xf_ms.lib' 'c:\...\libguide40.lib' 'c:\...\mkl_intel_thread.lib' 'c:\...\mkl_intel_c.lib' 'c:\...\mkl_core.lib' and using the option '/Qopenmp' in the COMPFLAGS in the mexopts.bat file. If I create my mexfunction without using OpenMP then the program results using the MKL FFTW and the FFTW library from www.fftw.org are identical. Compiling the code using OpenMP gives erroneous results. Are there incompatabilities using Intel Visual Fortran 9.1 and MKL 10.1.3.028? Am I inadvertently trying to run a threaded version of FFTW? In my code, I do NOT call for a threaded version of FFTW. I use OpenMP to speed up DO-LOOPS that contain FFTW calls. Thank you very much for your help. Sincerely, David | |||||
|
|||||||||||||
|
|||||||||||||
| 8442 users have contributed to 31547 threads and 100373 posts to date. |
|---|
| In the past 24 hours, we have 11 new thread(s) 33 new posts(s), and 44 new user(s). In the past 3 days, the most popular thread for everyone has been /fpp interferes with breakpoints/stepping through code - again The most posts were made to Help with hitting maximum record length in the compiler with debug info? The post with the most views is You could save the pre-proce Please welcome our newest member mrnm |