X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 2 Feb 2012 11:03:08 +1100 Message-ID: Subject: RE: MinGW gfortran and OpenMP issues... From: Nick Chilton To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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-w64-mingw32-gfortran.exe -o a.exe -mno-cygwin -static -O3 -fopenmp -cpp -Domp $(SOURCES) -L/home/Nick/lib/ -llapack -lblas 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