Time spend in a scalar region

General OpenMP discussion

Time spend in a scalar region

Postby HeinzM » Fri May 30, 2014 1:58 pm

Hello,

I'm testing the time my program spends in parallel and scalar regions by using omp_get_wtime and I made a suprising observation.

When I use only one core, the program spends about 10 seconds in the parallel region and about 1 second in the scalar region.

When I use 4 cores, the parallel region scales to 3 seconds, but the time spend in the scalar region grows up to about 5 seconds.

What could that be? Has someone an advice for me?

I use IVF14 with Windows on an i7-Board.

Best regards
Heinz
HeinzM
 
Posts: 17
Joined: Sat Nov 03, 2012 7:22 am

Re: Time spend in a scalar region

Postby HeinzM » Sat May 31, 2014 2:40 am

Sorry, I have mistaken. It was a bug.

Thread can be deleted.

Regards
Heinz
HeinzM
 
Posts: 17
Joined: Sat Nov 03, 2012 7:22 am


Return to Using OpenMP

Who is online

Users browsing this forum: Delais, Exabot [Bot], ftinetti, Yahoo [Bot] and 11 guests