Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

icpc-16_0_170: warning #10315 and malloc message

$
0
0

Hi all,

 

 

 

 

 

 

 

I would really appreciate any insights regarding the issue I describe below. Even high-level pointers in the right direction can be helpful. Given the level of expertise in this forum, please bear with my naive question. 

Being new to Intel MKL, I am going through the examples that are available online and, specifically, I was looking at "Measuring Effect of Threading on dgemm", which is available here

    https://software.intel.com/en-us/node/529737

The problem, I think, is that I do not really understand the linker flags---I just copied them from the online step-by-step instructions for using Intel MKL with Xcode (v. 7.3.1 on OS X 10.11.6, for what is worth). Hence, when I compile the example, above, I get the following warning

        /icpc-16_0_170: warning #10315: specifying -lm before files may supersede the Intel(R) math library and affect performance

The linker flags are set as follows

        -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lm

When compiling with Apple LLVM, no warnings are emitted, however, given that I do not have in depth knowledge of the compilers, I do not find the lack of warning reassuring. It may very well be the case that only of the two compilers detects the issue.

Also, another disconcerting symptom (with both compilers) is that the first line of the output generated during execution is

        MKL_Cpp(38877,0x11880d000) malloc: Attempted to register zone more than once: 0x104cf0140

However, the program runs and gives correct results. At least for matrices small enough so that I could check the results by inspection (e.g., permutation matrices, matrices that sum columns, etc).

Any ideas or suggestions will be highly appreciated.

Thanks in advance.

 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 2652

Latest Images

Trending Articles



Latest Images

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