Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Automatic Parallelization - same execution time with different number of threads

A__Hamid
Beginner
357 Views

Hi all

I am doing some experiment on auto-parallelization tools on NAS benchmark, by using Intel icc V18 (FLAGS : -parallel -g -O2 ), even by changing the number of threads (export OMP_NUM_THREADS=4, 8 or 16) always I got the same execution time (it happened for all NAS benchmarks and not just for some of them) !!!

should I use any additional flag ???

 

Thanks

0 Kudos
2 Replies
Viet_H_Intel
Moderator
357 Views

Do you see the different execution time if you compile with GCC for 4, 8, 16 threads?

Thanks,

Viet 

0 Kudos
McCalpinJohn
Honored Contributor III
357 Views

You should look at the optimization reports to find out if the automatic parallelization was actually able to parallelize the important loops....

0 Kudos
Reply