Community
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Power
Topic areas
Automation with Power
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Modernization with IBM Power
Open Source
Operating Systems
Power Developer eXchange
Power Global
Power Security
Programming Languages
Virtualization
User groups
Events
TechXchange Day
IBM TechXchange Conference
Upcoming Power Events
IBM TechXchange Webinars
All IBM TechXchange 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 TechXchange Community Users
Resources
IBM TechXchange Group
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Support 101
IBM Technology Zone
IBM Training
TechXchange Day
Marketplace
Marketplace
IBM Power
Connect, learn, share, and engage with IBM Power.
Ask a question
Join us for IBM TechXchange Day: AI and Automation
Skip main navigation (Press Enter).
Toggle navigation
Search Options
C/C++ and Fortran
Programming Languages
View Only
Group Home
Discussion
279
Library
0
Blogs
325
Events
0
Members
190
Share
Optimize the performance of your code containing loops by using -qassert
By
Archive User
posted
Tue February 25, 2014 02:41 AM
0
Like
Originally posted by:
ChristineLi
If your code contains a large number of loops, you can use option -qassert=minitercnt=
n1
and -qassert=maxitercnt=
n2
provided in XL Fortran V14.1 to specify the expected minimum and maximum iteration counts of the loops in the program. The minitercnt and maxitercnt values are not required to be accurate since the values only affect performance, never correctness. The values will be provided to the optimizer.
n1
and
n2
must be positive integers. If you specify the two suboptions at the same time, the values must follow the rule minitercnt <= itercnt <= maxitercnt. Otherwise, messages are issued to indicate that the values are inconsistent and the inconsistent value is ignored.
You can also use the
ASSERT
directive which can overrides the -qassert compiler option for the DO loop on which the ASSERT directive is specified.
For detailed information, see
-qassert
.
0 comments
0 views
Permalink
IBM Community Home
Browse
Discussions
Resources
Groups
Events
IBM TechXchange Conference 2023
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Blogging on the Community
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
Power
Topic areas
Automation with Power
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Modernization with IBM Power
Open Source
Operating Systems
Power Developer eXchange
Power Global
Power Security
Programming Languages
Virtualization
User groups
Events
TechXchange Day
IBM TechXchange Conference
Upcoming Power Events
IBM TechXchange Webinars
All IBM TechXchange 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 TechXchange Community Users
Resources
IBM TechXchange Group
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Support 101
IBM Technology Zone
IBM Training
TechXchange Day
Marketplace
Marketplace
Powered by Higher Logic