delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits= required= tests= |
From: | Mark Hadfield <Mark DOT Hadfield AT niwa DOT co DOT nz> |
To: | Nick Chilton <nicholas DOT chilton AT monash DOT edu>, |
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> | |
Subject: | RE: MinGW gfortran and OpenMP issues... |
Date: | Thu, 12 Jan 2012 04:40:08 +0000 |
Message-ID: | <A4BDD8E3859F92478F09D5AACD6D79C00CDFD146@welwexmb01.niwa.local> |
References: | <CA+4WVXnmun77_vkL6uPrVHXcS_C2wowY57zvHEk=b-h3JPY4Qg AT mail DOT gmail DOT com> <CA+4WVXm3aNCOKKyxxA4gq-63M=BFsCEAoWrWq6o5buiJVQRyXQ AT mail DOT gmail DOT com> |
In-Reply-To: | <CA+4WVXm3aNCOKKyxxA4gq-63M=BFsCEAoWrWq6o5buiJVQRyXQ@mail.gmail.com> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q0C4eYx3012032 |
Do you have the following directory on your PATH? /usr/x86_64-w64-mingw32/sys-root/mingw/bin -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Nick Chilton Sent: Thursday, 12 January 2012 17:35 To: cygwin AT cygwin DOT com Subject: MinGW gfortran and OpenMP issues... 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 or directory cygcheck shows it has no dependencies, but it seems to be looking for something. Code compiles and runs fine when the OMP sections and -fopenmp flag are removed (sequential) and compiles fine with OpenMP on Linux using ifort. Any ideas what I'm missing? Cheers! 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 -- Please consider the environment before printing this email. NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |