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

  • SEARCH
  • Home
  • 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 9241789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:26:23+00:00 2026-06-18T08:26:23+00:00

I have been trying to optimize my program for some time now. It has

  • 0

I have been trying to optimize my program for some time now. It has more than 100 subroutines. The optimization flags I have used so far with the Intel Fortran compiler are as follows.

Optimization flag Time of completion
-c                     0.190 hr
-O3                    0.185 hr
-fast                  0.155 hr

So, using the optimization flag “-fast” I was able to gain 18.42% speed. I was wondering are there any other optimization flag that I can try to make my program run even faster. Because right now, when I ran my program with just O2 flag for one of my problem, it took around 25 hours to finish. I really need to increase the computational efficiency.

I found the information about the “-fast” flag from https://support.scinet.utoronto.ca/wiki/images/7/77/Snug_techtalk_compiler.pdf

I am using the intel fortran 13.1 compiler in linux.

Any help is highly appreciated.

Thank you so much.

Best Regards,

Jdbaba

  • 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-18T08:26:25+00:00Added an answer on June 18, 2026 at 8:26 am

    You don’t say which compiler you are using but imply Intel with your link. With Intel ifort you can try -parallel and obtain automatic parallelization. Past some point the compiler will have done its best with your source code and further runtime decreases will require either improving bad coding decisions or algorithmic improvements, neither of which we have information from your question to offer specific suggestions. “profiling” is identifying where your program spends its runtime. There is no point in making subroutine A run ten times faster if the program only spends 1% of its runtime in subroutine A … you will obtain very little overall improvement. Better to work on the subroutines in which the program spends 80% or 50% or … of its runtime.

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

Sidebar

Related Questions

I've been trying to optimize a numeric program of mine, and have run into
I have been working on this for 24 hours now, trying to optimize it.
I have been trying to optimize some code which handles raw pixel data. Currently
Recently I have been trying to optimize my tables, mainly because I've learned alot
I have been trying to setup git for our web development team unsuccessfully. Some
I have been trying for almost a week now to create an SQLite database
I have been trying to create to optimize my android code by creating an
I have been working in trying to optimize a webservice that is required to
I've currently been trying to optimize my app with RGB_565 textures rather than RGBA_8888
I've been trying to optimize the Windows program I am developing, trying to find

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.