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 8586373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:17:43+00:00 2026-06-11T22:17:43+00:00

I wrote Fortran Codes and I want to compile them. Sorry I don’t know

  • 0

I wrote Fortran Codes and I want to compile them. Sorry I don’t know more information about this question because It is one of my friends question. Is there a specific program for Compiling Fortran Codes?

  • 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-11T22:17:44+00:00Added an answer on June 11, 2026 at 10:17 pm

    You can compile a fortran program by typing a line similar to the following:

    f77 -o myprogram myprogram.f
    

    It is important that you understand what is happening here:

    f77 is the name of the Fortran compiler. Your compiler may have a different name such as g77, ifc. or pgf77.
    The -o option tells the compiler that the next word (here, myprogram) will be the name of the binary version of the program. If you omit this option, most systems will use the default name a.out for the binary version regardless of the name of your program. It’s OK to use this default, though it’s usually helpful to use a more meaningful name. The binary file is often called the executable file because the computer can run (execute) it.
    myprogram.f is the name of the file that contains the source code of your program. The source code is the file of instructions that you actually edit and type. Your source file could be named something other than myprogram.f, such as homework1.f. or some other descriptive name. On many systems the name of the source file must end with the suffix .f or the compiler is apt to become unhappy.
    To run the program, simply type the name of the executable file:

    myprogram
    

    You can find more about it Here also

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

Sidebar

Related Questions

FINAL UPDATE This question is about how to write a setup.py that will compile
I want to write an object oriented program. I do not know much about
I wrote a process explorer using C with GUI interface. I want to add
I am asking this question is because I need to modify an open source
I am trying to run a program wrote in fortran where the subroutine has
I have very basic question about the use of high performance cluster in our
Hi this is code given in Chapman's book Fortran 95-2003 for scientists and engineers(3ed)
I'm trying to run this MPI Fortran code. There are several problems: 1) when
I have a Fortran module which I am trying to compile with f2py (listed
I am writing codes in Fortran 95, to read a number of files looking

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.