Welcome to the IBM Community, a place to collaborate, share knowledge, & support one another in everyday challenges. Connect with your fellow members through forums, blogs, files, & face-to-face networking.
Engineering
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Power
Topic groups
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Open Source
Operating Systems
Power Global
Power Security
Programming Languages
Virtualization
User groups
All User Groups
ASEAN Power (AIX, IBM i, Linux) Group
Events
Upcoming Power Events
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Getting Started
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Power Users
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
IBM Power Community
Connect, learn, share, and engage with the IBM Power Community.
Join / Log in
Skip main navigation (Press Enter).
Toggle navigation
Search Options
C/C++ and Fortran
Programming Languages
View Only
Group Home
Discussion
253
Library
0
Blogs
306
Events
0
Members
157
Share
THREADPRIVATE or THREADLOCAL?
By
Archive User
posted
Tue December 20, 2011 10:31 AM
0
Like
Originally posted by:
Xing_Xue
To declare a thread specific common block, XL Fortran provides two parallelization directives, THREADPRIVATE and THREADLOCAL. One may be puzzled as to what is the difference between them and which one of them is better.
THREADLOCAL is not defined in the OpenMP standard. It is a directive that XL Fortran supported before the OpenMP standard was published. The reason that XL Fortran is still supporting it is for applications that have dependency on it. On the other hand, THREADPRIVATE is part of the OpenMP standard. It can better interact with other OpenMP constructs and more importantly, applications using THREADPRIVATE are more portable. Therefore, THREADPRIVATE is definitely more preferable.
0 comments
0 views
Permalink
Power
Topic groups
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Open Source
Operating Systems
Power Global
Power Security
Programming Languages
Virtualization
User groups
All User Groups
ASEAN Power (AIX, IBM i, Linux) Group
Events
Upcoming Power Events
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Getting Started
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Power Users
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
Copyright © 2020 IBM Corporation. All rights reserved.
Powered by Higher Logic