This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Fwd: OpenMP works great under MacOSX Intel but not all under Windows (MinGW)]
- From: Brian Dessent <brian at dessent dot net>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Wed, 11 Jul 2007 01:07:53 -0700
- Subject: Re: [Fwd: OpenMP works great under MacOSX Intel but not all under Windows (MinGW)]
- Organization: My own little world...
- References: <46948BB5.7050902@net-b.de>
- Reply-to: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
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