Is OpenMP programming portable ?



I have an application and would like to add multithreading support. A
few things are going the pthread ways but with SUN Studio 11 i
discovered OpenMP. How far is this useable ?
I learned that MSVC 2005 has OpenMP 2.0 support, so windows and solaris
are good candidates.

I'm just after a compiler that works for MacOSX, Linux and the BSD's.
Does anybody know if the new (current alpha state) compiler from Sun
for Linux will support this (on AMD64,IX86 ?).

For the other plattforms the only way (even if you would be willing to
send a medium sized cheque to somebody) seems to be to wait for gcc to
pick up openmp. Does anybody know if this might happen in the near
future ?

.



Relevant Pages

  • Re: Compilation problem with __thread
    ... It seems to exist only for Linux Intel/AMD. ... to use the SUN Studio 11 compiler but it does not compile my code. ... so gcc doesn't support it on Solaris; ... You have problems with Sun Studio 11; ...
    (comp.unix.solaris)
  • Re: NET framework and hyperthreading/MMX/SSE/....
    ... dual core and hyperthreaded processors are supported ... >> want is compiler support for parralellizing loops? ... Something like OpenMP? ... Private within the parallell block would define that variable as private to ...
    (microsoft.public.dotnet.framework)
  • Re: Lets use gcc-4.2, not 4.1 -- OpenMP
    ... I have a core 2 duo box so I'm interested, ... or Visual Studio on Windows) have supported OpenMP pragmas ... Scott may well be right suspecting that _this support_ may be of beta-quality ... that's another plus -- GCC folks already refuse to do anything about ...
    (freebsd-current)
  • =?windows-1252?Q?Sun_Studio_Express_07=2F08_=96_Now_Available=21?=
    ... The Sun Studio Express 07/08 release is now available! ... this latest release contains support for ... OpenMP 3.0 APIs which offers developers a more general approach to ... DTrace GUI Plugin is a graphical user interface for running ...
    (comp.unix.solaris)
  • Re: Multi-core computers development...
    ... they may not have to reinvent the wheel. ... offer support for MPI, OpenMP, etc.? ...
    (borland.public.delphi.non-technical)

Loading