Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:39:43+00:00 2026-06-01T01:39:43+00:00

According to the OpenMP web site OpenMp is the de-facto standard for parallel programming

  • 0

According to the OpenMP web site OpenMp is “the de-facto standard for parallel programming on shared memory systems” According to Wikipedia “Using memory for communication inside a single program, for example among its multiple threads, is generally not referred to as shared memory.”

What is wrong here ? Is it the “generally” term ?
OpenMp is really just creating threads “sharing memory” through a single same virtual adress space, isn’t it ?

Moreover, I guess OpenMP is able to run on NUMA architectures where all the memory can be addressed by all the processors, but with some increased memory access time when threads sharing data, are assigned to cores accessing to different memories at different access time. Is this true ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:39:44+00:00Added an answer on June 1, 2026 at 1:39 am

    I’m redacting a full-fledged answer here to try to answer further questions asked as comments to lucas1024’s answer.

    On the meaning of “shared memory”

    On the one hand, you have the software-oriented (i.e. OS-oriented) meaning of shared-memory: a way to enable different processes to access the same chunk of memory (i.e. to relax the usual OS constraint that a given process should not be able to tamper with other processes’ memory). As stated in the wikipedia page, the POSIX shared memory API is one implementation of such a facility. In this acception, it does not make much sense to speak of threads (an OS might well provide shared memory without even providing threads).

    On the other hand, you have the hardware-oriented meaning of “shared-memory”: an hardware configuration where all CPUs have access to the same piece of RAM.

    On the meaning of “thread”

    Now we have to disambiguate another term: “thread”. An OS might provide a way to have multiple concurrent execution flows within a process. POSIX threads are an implementation of such a feature.

    However, the OpenMP specification has its own definitions:

    thread: An execution entity with a stack and associated static memory, called
    threadprivate memory.

    OpenMP thread: A thread that is managed by the OpenMP runtime system.

    Such definitions fit nicely with the definition of e.g. POSIX threads, and most OpenMP implementations indeed use POSIX threads to create OpenMP threads. But you might imagine OpenMP implementations on top of OSes which do not provide POSIX threads or equivalent features. Such OpenMP implementations would have to internally manage execution flows, which is difficult enough but entirely doable. Alternatively, they might map OpenMP threads to OS processes and use some kind of “shared memory” feature (in the OS sense) to enable them sharing memory (though I don’t know of any OpenMP implementation doing this).

    In the end, the only constraint you have for an OpenMP implementation is that all CPUs should have a way to share access to the same central memory. That is to say OpenMP programs should run on “shared memory” systems in the hardware sense. However, OpenMP threads do not necessarily have to be POSIX threads of the same OS process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to Wikipedia, on the Comparison of programming languages page, it says that F#
We are compiling an application that uses OpenMP. We are using gcc 4.4, with
According to the site, http://www.dba-oracle.com/t_nls_lang.htm Problem might occur even if both the database and
According to Wikipedia , partition-based selection algorithms such as quickselect have runtime of O(n)
According documentation: System.Array.Sort<T> - sorts the elements in an entire System.Array using the System.IComparable
According to C++ Standard paragraph 3.7.3/1 objects should be dynamically created with new expression
According to the Java standard the short and char types both use 2 bytes
According to the documentation i would like to overwrite predefined formats using this settings:
According to the msdn.microsoft.com site, .NET 3.5 Routing should work under IIS6 and II7
According to the CSS 2.1 standard, the vertical margins of floating elements should not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.