MinGW gfortran and OpenMP issues...
Nick Chilton
nicholas.chilton@monash.edu
Thu Jan 12 22:33:00 GMT 2012
Andrey,
I have done this, but no difference. I copied the pthreadGC2.dll from
the appropriate MinGW lib in cygwin to the folder and it runs fine!
There is another problem however. While the program says it is running
with 3 threads, it only runs using 25% cpu, spread over 3 cores (Core
i5, quad core) (when I say spread, it's not constant, it seems to jump
about over the cores 0, 1 and 2) . This occurs when I run from cmd or
cygwin. Interstingly, the same behaviour is observed when I only run
it with one thread. The same code compiled with ifort on linux runs
great with the same input on 3 threads using 3 cores (i.e. 300% cpu)
or 1 core if I choose.
Is there a way to flex all cores on a windows box with OpenMP??
Nick
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list