Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Useful switches for /Qopenmp

Ahmad_Falahatpisheh
334 Views
I am trying to use /Qopenmp for my code. Could someone tell me what switches can be beneficial when /Qopenmp is used? Does the switches /Qpar-num-threads=8 specify that I want to use 8 CPU cores for Qopenmp switch (I have two Intel Xeon 3.33GHz processors).

Thanks.
0 Kudos
1 Solution
Steven_L_Intel1
Employee
334 Views
By default, Intel's OpenMP implementation creates as many threads as there are "execution units" (sockets * cores * threads) in your computer. The option you name forces that number of threads no matter what, and is not recommended.

I don't know that there are options I would specifically recommend for OpenMP use You can use general optimization options such as /O3 and processor-targeting options if you wish.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
335 Views
By default, Intel's OpenMP implementation creates as many threads as there are "execution units" (sockets * cores * threads) in your computer. The option you name forces that number of threads no matter what, and is not recommended.

I don't know that there are options I would specifically recommend for OpenMP use You can use general optimization options such as /O3 and processor-targeting options if you wish.
0 Kudos
Reply