This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]