Stefan Reinhardt
Stefan Reinhardt

Reputation: 622

OpenMP 3.0 for Visual Studio

Currently I am developing a cross-plattform framework where I want to use actuall features of openmp. I would like to make use of the "new features" of openmp 3.0 (or later). (Such like unsigned parallel for loops or tasks etc., I haven't developed on a windows plattform for quite a while and as I have seen for now even Visual Studio 2015 does only support openmp 2.0 (At least when using msvc, see e.g. All OpenMP Tasks running on the same thread or https://blogs.msdn.microsoft.com/vcblog/2014/11/12/visual-studio-2015-preview-is-now-available/) So my questions are:

  1. Is there any sane reason to not support openmp3.0 in Visual Studio? Is there any way to get it work under Visual Studio?
  2. I am aware, that I could use the Intel C++ compiler, but unfortunately i do not have access to one. So is there a free alternative to the Intel compiler with openmp3.0 support?

Thanks in advance

Upvotes: 2

Views: 3261

Answers (2)

Severin Pappadeux
Severin Pappadeux

Reputation: 20130

Well, you might try GCC ports for Windows, native (mingw64) and on top of cygwin.

Try to install msys2 and you'll get ming64 as well as cygwin compilers with OpenMP support

Upvotes: 2

Subhankar
Subhankar

Reputation: 692

You can try cygwin.

cygwin is gcc compiler by GNU for windows.

Upvotes: 0

Related Questions