[Fwd: OpenMP works great under MacOSX Intel but not all under Windows (MinGW)]

Brian Dessent brian@dessent.net
Wed Jul 11 08:08:00 GMT 2007


Tobias Burnus wrote:

> Is OpenMP expected to work with the Gfortran under Windows?

It depends on whether you're talking about MinGW or Cygwin.  For MinGW
then you'll need to first install the pthreads-win32 library before
building gfortran/gcc, and possibly forcing the --enable-threads=posix
option since the MinGW default is --enable-threads=win32.  Since Cygwin
provides the pthreads API you don't need an external library there and
it should work OOTB.

Brian



More information about the Fortran mailing list