Community
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
IBM TechXchange
Community
Cloud Global
Cloud Native Apps
Cloud Partner Accelerator
Cloud Platform as a Service
Cloud Training
High Performance Computing
IBM Cloud for SAP
Infrastructure as a Service
VMware on Cloud
Groups
AI
Automation
Data
Security
Sustainability
Cloud
IBM Z & LinuxONE
Power
Storage
IBM Champions
IBM Japan
All Groups
My Groups
Champions
User Groups
Cloud user groups
All user groups
Events
Conference
Community Events
User Groups Events
All TechXchange Events
Participate
TechXchange Group
Welcome Corner
Blogging in the Community
Directory
Community Leaders
Resources
Marketplace
Marketplace
IBM Power
Connect, learn, share, and engage with IBM Power.
Ask a question
Skip main navigation (Press Enter).
Toggle navigation
Power
View Only
Group Home
Threads
1.4K
Library
25
Blogs
0
Events
0
Members
1K
Share on LinkedIn
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 TechXchange
Community
Cloud Global
Cloud Native Apps
Cloud Partner Accelerator
Cloud Platform as a Service
Cloud Training
High Performance Computing
IBM Cloud for SAP
Infrastructure as a Service
VMware on Cloud
Groups
AI
Automation
Data
Security
Sustainability
Cloud
IBM Z & LinuxONE
Power
Storage
IBM Champions
IBM Japan
All Groups
My Groups
Champions
User Groups
Cloud user groups
All user groups
Events
Conference
Community Events
User Groups Events
All TechXchange Events
Participate
TechXchange Group
Welcome Corner
Blogging in the Community
Directory
Community Leaders
Resources
Marketplace
Marketplace
Powered by Higher Logic