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 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

MinGW gfortran and OpenMP issues...

2012-01-11 Thread Nick Chilton
Hi, I'm trying to compile some code with: x86_64-w64-mingw32-gfortran.exe -o a.exe -mno-cygwin -static -O3 -cpp -Domp -fopenmp $(SOURCES) -L/lib/ -llapack -lblas which compiles fine, but upon execution: a.exe: error while loading shared libraries: ?: cannot open shared object file: No such file