OpenMP for other operating systems

General OpenMP discussion

OpenMP for other operating systems

Postby ReturnInfinity » Thu Aug 23, 2012 6:38 am

What kind of basic OS functions are required for using OpenMP? We would like to use it in a custom operating system that we are developing (BareMetal OS). We do have basic C library support from newlib but what other dependencies would there be?

Ian Seyler

Re: OpenMP for other operating systems

Postby james » Mon Aug 27, 2012 11:46 am

The most likely dependency is the pthreads library because most implementations use pthreads to implement the OpenMP threads.
Posts: 54
Joined: Fri May 16, 2008 9:27 am

Re: OpenMP for other operating systems

Postby MarkB » Tue Aug 28, 2012 2:28 am

Are you planning to implement OpenMP on top of your OS work queue? I guess this could provide some interesting challenges: as james says, most implementations are on top of a more conventional threading library (either pthreads or OS kernel threads). The hardest parts are likely to be implementing nested parallelism and threadprivate global storage. (You can still do a compliant OpenMP implemention without implementing nested parallelism, however).
Posts: 611
Joined: Thu Jan 08, 2009 10:12 am
Location: EPCC, University of Edinburgh

Return to Using OpenMP

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests