- #1
vissu219
- 3
- 0
heys..can anyone tell me..how could i run f90 codes in an f77 compiler..wht changes in the code do i need to make to do that?
Yes, it is possible to run a f90 code in a f77 compiler. However, there may be some limitations and compatibility issues as f90 is a newer version of the Fortran language.
The major differences between f90 and f77 include the addition of new features such as modules, dynamic memory allocation, and object-oriented programming. F90 is also more strict in syntax and has more built-in functions compared to f77.
Yes, you may need to make some modifications to your f90 code in order to make it compatible with a f77 compiler. This could include removing unsupported features or using alternative syntax.
No, if you want to ensure compatibility with a f77 compiler, it is best to avoid using f90-specific features such as modules and dynamic memory allocation. Stick to the f77 language standards to ensure your code will run without issues.
Yes, there are some potential disadvantages to running a f90 code in a f77 compiler. For example, you may not have access to newer features and optimizations available in f90. Additionally, there may be a decrease in performance and efficiency compared to running the code in a f90 compiler.