This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Gfortran on Windows (mingw32) with OpenMP


Hi all,

I just built a Windows version of gfortran that includes OpenMP
support. It is available for download here:
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows-openmp-20060601.exe

This was done using mingw32 and the pthreads library for Win32
(http://sourceware.org/pthreads-win32/). Thanks to all the guys behing
these projects who made this possible!

I don't use OpenMP much myself (and don't use Windows much either), so
I'm calling for people to test this compiler: if you're interested,
download the installer from the link above, install gfortran and test
it with command-lines such as:

gfortran.exe -fopenmp hello_omp.f -o hello_omp.exe

where -fopenmp is the option that enables OpenMP. You can then run the
binary and set the
OMP_NUM_THREADS environment variable to whatever number of threads you
want). The installer also includes a C compiler and standard
development tools.

Please reply to this message, keeping the list in Cc, if you have any
question, comment or bug-report. Once the testing phase is over, I
intend to make this OpenMP-capable version the default for my Windows
binaries of gfortran.


PS: a non-OpenMP gfortran package for Windows is also available (http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows-20060531.exe)

Post-PS: when the testing phase is over, I will submit the
corresponding (small) patch for inclusion into mainline, of course...


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