answersLogoWhite

0


Best Answer

23 years.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference btw fortran 77 and fortran 90?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which command would you use to run a Fortran code?

Fortran is a programming language, which means you write a program in Fortran, and COMPILE it to an EXECUTABLE program. The compiler you use differs depending on which operating system platform you intend to run the program on. If you wish to run the program on a PC using Windows XP, you must first compile it using a specific Fortran-compiler for Windows XP. The result after compiling will be an executable file (with the file-ending .exe). To find a suitable compiler, check out download.com, for instance. Given that you know it is Fortran Code, we can assume that you do not have a compiled one, but just raw Frotran Source code. To compile it, you need a Fortan compiler suitable for both your operating system as well as the version of Fortran the code was written for. There is a free Fortran Compiler for Fortran77 from the GNU Project: For Windows: http://www.geocities.com/Athens/Olympus/5564/ For Unix: http://www.gnu.org/software/fortran/fortran.HTML The above is correct assuming your question is "Given the Fortran source code, how do I run it?" However if your question is "Given the Fortran executable (ProgName.exe) how do I run it?", the is that you run it like any other program. You either: 1 - Double-click on the file name OR 2 - Open a DOS window, go to the directory where the file is and type in the filename with or without the extension .exe OR 3 - You can select Start and Run and type in the filename. Like any "compilable" language it can be used to build an exe or a dll. But a dll MUST be called by another program to run, you can only run a .exe directly. ------------------ In addition the workflow for running a Fortran program on a *nix platform (such as Unix, Linux, or Mac OSx) would be as such: 1) Write given Fortran code with proper extension a) Fortran 77 - *.fb) Fortran 90 - *.f90c) Fortran 95 - *.f95 2) Compile using your compiler suite (showing examples for a few different cases) a) for gfortran as mentioned abovegfortran myfile.f90 -o myExecutableg77 myfile.f77 -o myExecutableb) for OpenMPImpif90 myfile.f90 -o myExecutablempif77 myfile.f77 -o myExecutablec) for Intel Fortranifort myfile.f90 -o myExecutable 3) To run the executable first make sure it is marked as executable, this can by going to the folder in which it was compiled then typing: ls -l You will then see the myExecutable file marked with permissions. Check to see if the executable permission is there. If it is not, you must change permissions to allow it to be executed. This is done by typing: chmod a+x myExecutable 4) Finally to actually run the code you simple add the execution prefix: ./myExecutable This will cause the file to run with output in the current terminal session. Note that if you terminate the terminal/ssh session, the code execution will halt. If you want to execute a large piece of code on lets say a remote computer (or a cluster for scientific computing) then you do the following step instead of 4 4*) To run the executable in backround and log terminal output (if you don't want to keep the terminal window open) you use the following command: nohup ./myExecutable > terminalOuput.txt & This will cause the executable to run in the background, it will the tell terminal not to hang up (nohup) if you close the window, and it will append the terminal output to the file terminalOutput.txt


What does Fortran statement If left paren If left paren 2 times A comma Y Rt paren Rt paren 6 comma 5 comma 6 mean?

It is a three-way case statement. ( Arithmetic IF statement) IF(exp) n1,n2,n3 meaning go to n1 if expr < 0 ( value is negative) go to n2 if expr = 0 ( value is zero) go to n3 if expr > 0 ( value is positive) IF(expr1-expr2) n1,n2,n3 meaning go to n1 if expr < expr2 go to n2 if expr = expr2 go to n3 if expr > expr2 reference: Fortran 77 with 90 Applications for scientific and engineers second edition RAMA N. REDDY CAROLA A. ZEIGLER


Advantages and disadvantages of the programming language FORTRAN?

Up till Fortran 90/95, the language was primarily intended for calculations. It remains one of the best computational languages ever developed, and is still in heavy use in the financial industry.However, due in large part to disagreements among members of the Fortran development groups, Fortran 77 was deficient in a number of areas. Most or all of these have since been addressed by Fortran 90/95, however, so they do not represent current language deficiencies. These limitations included:Poor string handling, including weak concatenation and length functions.Subroutines pass arguments by reference rather than by value, making data protection difficult.Data scoping is limited. Variables can either be local or in COMMON blocks, but no other scoping is allowed. As a result, it's not possible to write file-level procedures; shared logic must be in a separate subroutine or repeated via cloning.Loop controls are somewhat limited, requiring continued use of the GOTO statement to manage flow in some cases.


What is the difference between a Mercury 90 horsepower motor and a Mercury 115 horsepower motor?

25 horse power.


What is the difference between a markup and a discount?

the difference is that instead of subtracting for discount you add for markup ex:markup a store buys a jacket for $5 in order to earn cash they do markup which is when you multiply a percentage with the cost of the product. so lets say the percentage is 90% so multiply them both then you must add them.

Related questions

Which among the following is a Scientific Computer Language?

There are many Scientific Computer languages including Fortran 77, Fortran 90, C, and C++.


What is 77 percent of 90?

69.3 and you work it out by doing this: 77 divided by 100 * 90.


What has the author David R Brooks written?

David R. Brooks has written: 'Problem solving with Fortran 90' -- subject(s): FORTRAN 90 (Computer program language), Problem solving, Data processing 'On Paradise Drive'


What is 77 out of 90 in percent form?

For the fraction 77/90, the equivalent percentage = 85.56%


What is the greatest common factor of 90 and 77?

The greatest common factor of 90 , 77 = 1


When was the last time Kentucky beat Tennessee?

BTW he said Football."Kentucky defeated Tennessee in both their meetings during the 2008-2009 season. The scores were 77-58 and 90-72."


What number comes between 77 and 90?

78 - 89 are the numbers that come between 77 and 90.


What is 77divided by 90?

0.8556


What number is 90 percent of 70?

77. 70 divided by 90, times 100 equals 77. 70/90= 0.77777777 * 100 = 77.7777


What is the average of 54 72 90 and 12?

77


If you have fortran 95 support can you compile fortran 90 code?

In most cases, yes. However this varies from compiler to compiler. Typically in my experiences, using gfortran and OpenMPI, F90 code will compile with very minor modification.


The full meaning of FORTRAN in computer?

Usually thought to mean "Formula Translation", FORTRAN is a blend word name for a software language and compiler whose original full name was "The IBM Mathematical Formula Translating System". The first FORTRAN compiler was released in April of 1957. In 1991, however, the connection to the original meaning was dropped. So from the Fortran 90 of then to the upcoming Fortran 2008, the name is spelled with only the first letter capitalized.