Hello,
I use the mkl_peak_mem_usage() function to measure the peak memory usage by Intel MKL. I also set the number of threads by using omp_set_num_threads() functions. Interestingly, the more threads I use, the higher the peak memory usage is reported. How do you explain this? My code does a lot of matrix-matrix multiplications and make use of Pardiso solver as well.