Does not multi-threaded on a Pentium D machine

Does not multi-threaded on a Pentium D machine

Hi,

I compiled my C program which included OpenMP directives using the icc with -openmp and -parallel options.

When I run it on a Xeon machine (ia32, 2CPU, Vine Linux 3.2, kernel 2.4.31), it works well (automatically multi-threaded).

However, when I run it on a Pentium D machine (em64t, 2Core, CentOS 4.2, Linux kernel 2.6.9-34ELsmp), it is not parallelized (single-threaded).

I set OMP_NUM_THREADS=2 and KMP_LIBRARY=turnaround.

Does anyone have any idea to solve this problem?

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.