Re: MinGW gfortran and OpenMP issues...

2012-02-01 Thread Tim Prince
On 2/1/2012 7:03 PM, Nick Chilton wrote: Hi, I'm still having problems with OpenMP and the x86_64 MinGW compilers - code which can run fine on Linux with any number of threads (mapped to different cores) still will only use one core on an i5 quad core windows box. Is this a windows limitation o

RE: MinGW gfortran and OpenMP issues...

2012-02-01 Thread Nick Chilton
Hi, I'm still having problems with OpenMP and the x86_64 MinGW compilers - code which can run fine on Linux with any number of threads (mapped to different cores) still will only use one core on an i5 quad core windows box. Is this a windows limitation or a compiler one? Compile with: x86_64-w6

Re: MinGW gfortran and OpenMP issues...

2012-01-12 Thread Nick Chilton
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 c

Re: MinGW gfortran and OpenMP issues...

2012-01-11 Thread Andrey Repin
Greetings, Nick Chilton! > While I thought the extra PATH dir solved the problem, it only runs > within cygwin. Running in cmd, it says "pthreadGC2.dll" is missing. > Just slapping one from google in there, I get an 0xc07b > exception... Make your user PATH equal to what you see in Cygwin ter

RE: MinGW gfortran and OpenMP issues...

2012-01-11 Thread Nick Chilton
While I thought the extra PATH dir solved the problem, it only runs within cygwin. Running in cmd, it says "pthreadGC2.dll" is missing. Just slapping one from google in there, I get an 0xc07b exception... Nick -- Problem reports: http://cygwin.com/problems.html FAQ: ht

RE: MinGW gfortran and OpenMP issues...

2012-01-11 Thread Mark Hadfield
Do you have the following directory on your PATH? /usr/x86_64-w64-mingw32/sys-root/mingw/bin -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Nick Chilton Sent: Thursday, 12 January 2012 17:35 To: cygwin@cygwin.com Subject: MinGW gfortran and