Topic
  • No replies
Visda
Visda
32 Posts

Pinned topic Question about z/OS V2R1 XL C/C++ openMP feature

‏2014-03-24T14:57:39Z | openmp v2r1 xlc xlc/c++ zos

Do you know at what level this style of threading is implemented on MVS?  Is each OpenMP thread a separate TCB or does this all happen within a single TCB?

  • Visda
    Visda
    32 Posts
    ACCEPTED ANSWER

    Re: Question about z/OS V2R1 XL C/C++ openMP feature

    ‏2014-03-24T14:59:40Z  

    z/OS XL C support for OpenMP, new in version V2R1, is built upon the POSIX standard pthread library, therefore it is not available on MVS, it is only available in USS where compiler runs POSIX(ON).  The equivalent of MVS TCB is process in USS; openMP threads occur within the same process.

    openMP support is only available in USS + 64-bit.

    More information on this topic can be found:

    User's Guide  SMP | NOSMP http://ibm.co/1ghQ4YV
    Programming Guide  Parallelizing your Program     http://ibm.co/1dNf1xm
    Language Reference Pragma Directives for parallel processing     http://ibm.co/1fh91Nv

  • Visda
    Visda
    32 Posts

    Re: Question about z/OS V2R1 XL C/C++ openMP feature

    ‏2014-03-24T14:59:40Z  

    z/OS XL C support for OpenMP, new in version V2R1, is built upon the POSIX standard pthread library, therefore it is not available on MVS, it is only available in USS where compiler runs POSIX(ON).  The equivalent of MVS TCB is process in USS; openMP threads occur within the same process.

    openMP support is only available in USS + 64-bit.

    More information on this topic can be found:

    User's Guide  SMP | NOSMP http://ibm.co/1ghQ4YV
    Programming Guide  Parallelizing your Program     http://ibm.co/1dNf1xm
    Language Reference Pragma Directives for parallel processing     http://ibm.co/1fh91Nv