Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] StarPU and MKL 11 (Intel Composer XE 2013)

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] StarPU and MKL 11 (Intel Composer XE 2013)


Chronologique Discussions 
  • From: Benoît Lizé <benoit.lize@gmail.com>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] StarPU and MKL 11 (Intel Composer XE 2013)
  • Date: Mon, 17 Jun 2013 17:54:02 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hello,

I recently talked off-list with some of you about some issues with MKL 11 and StarPU.
I'm using StarPU (1.1rc1 and 1.0.5) on Linux with MKL, using 1 thread for MKL and doing all the parallelism using StarPU (no multithreaded tasks), setting MKL_NUM_THREADS to 1.
The threaded MKL library is used, with iomp5.

Using this configuration, StarPU used only 1 core, no matter the value of STARPU_NCPU. Samuel mentionned that it looked like a thread pinning issue with MKL.

I think I've found the solution: setting KMP_AFFINITY to disabled (http://software.intel.com/sites/products/documentation/studio/composer/en-us/2011Update/compiler_c/optaps/common/optaps_openmp_thread_affinity.htm). I wanted to share this workaround here.

-- 
Benoit Lize





Archives gérées par MHonArc 2.6.19+.

Haut de le page