Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
7234 Discussions

Using the scalapack and blacs MKL intel libraries without MPI

Zhanghong_T_
Novice
798 Views
Dear all,

I would like to use the scalapack and blacs MKL intel libraries without MPI on multi-cores machines, the environment to build the project is:
32 bit Windows XP (or 64 bit) + VS.net2003 (or 2005, 2008) + IVF 11.0 + MKL 10.1

How can I build such a project to make use of all cores? What should I pay attention to for writting code? Could anyone give me such an example of project to show this usage?


Thanks,
Zhanghong Tang
0 Kudos
4 Replies
Gennady_F_Intel
Moderator
798 Views
Hi Zhanghong, are you working on SMP or Cluster Systems?
--Gennady

0 Kudos
Zhanghong_T_
Novice
798 Views
Hi Zhanghong, are you working on SMP or Cluster Systems?
--Gennady


Hi Gennady,

Thanks for your kindly reply. Currently working on SMP system (just 4-core intel processor, 64 bit Windows XP). I wish to use all CPUs without installing the MPI, could I link the Intel's libraries to let all CPUs be used?

Thanks,
Zhanghong Tang
0 Kudos
ArturGuzik
Valued Contributor I
798 Views
Currently working on SMP system (just 4-core intel processor, 64 bit Windows XP).

Hi,

you don't need to do anything, I believe (if I understand your system config correctly). The MKL automatically sets number of threadsOMP_NUM_THREADS to number of cores, and you should observe 100% usage of the cores (if you have enough to work on in your app) From version 10 you have more control over this and additional MKL_NUM_THREADS. Take a look at Chapter 6, Managing performance and Memory in User's Guide.

You can paralize rest of your app using OpenMP.

A.

Edit:

I overlooked the most important part of the message ScaLAPACK. Well, so now I'm not so sure about it. Is it for testing before going to Cluster? I saw your environment posted on IVF forum. You have installed couple of things:-)
0 Kudos
Zhanghong_T_
Novice
798 Views
Quoting - ArturGuzik
Hi,

you don't need to do anything, I believe (if I understand your system config correctly). The MKL automatically sets number of threadsOMP_NUM_THREADS to number of cores, and you should observe 100% usage of the cores (if you have enough to work on in your app) From version 10 you have more control over this and additional MKL_NUM_THREADS. Take a look at Chapter 6, Managing performance and Memory in User's Guide.

You can paralize rest of your app using OpenMP.

A.

Edit:

I overlooked the most important part of the message ScaLAPACK. Well, so now I'm not so sure about it. Is it for testing before going to Cluster? I saw your environment posted on IVF forum. You have installed couple of things:-)

Dear ArturGuzik,

Thank you so much for your kindly suggestion. I will read the document carefully.

Thanks,
Zhanghong Tang
0 Kudos
Reply