Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

DftiCommitDescriptor hangs my application

$
0
0

Hi,

I've been struggling with this for a while, hope you can help.

I'm creating a shared library on Linux (Centos 6.7) using FFT's implemented with the MKL. My library works fine when used together with my own test program, but fails when used from a 3rd party application.

The problem has been pinned down to the FFT's. Print-output arrives on screen after calling DftiCreateDescriptor and DftiSetValue, and the status is 0. But when I subsequently call DftiCommitDescriptor the 3rd party application keeps running at 100% cpu and doesn't show any print-output anymore.

The 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3. The corresponding shared object files are provided in its run path. I'm using Intel Fortran 14.0.0 myself (composer_xe_2013_sp1.0.080). I installed MKL 11.1.3 and changed include paths accordingly but this didn't resolve the problem. I tried dynamic and static linking without any success:

Static, with OpenMP:

 -Wl,--start-group $(MKLDIR)/libmkl_intel_lp64.a $(MKLDIR)/libmkl_core.a $(MKLDIR)/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm

Dynamic, with OpenMP:

 -L$(MKLDIR) -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm

Any ideas how this hang may come about, or how it can be circumvented?

Thanks, Edwin


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>