Fortran What Fortran90 Compiler Should I Use for Linux?

AI Thread Summary
The discussion revolves around compiling a program using a Fortran compiler on Mandriva 2008. The user has installed both the GCC f95 compiler and Intel Fortran Compiler (ifort) but encounters errors when attempting to compile with the commands "ifort myfile.f" and "g95 myfile.f." The manual for the program specifies using "f90 myfile.f," which suggests a need for a Fortran 90 compiler. The user seeks clarification on which Fortran compiler to install and how to resolve the compilation issues. There is a mention of g95 being the GNU Fortran compiler, and the conversation hints at the possibility of the errors being related to the compiler installation or the Fortran code itself. Further details on the specific error messages encountered would help diagnose the problem.
carbon9
Messages
46
Reaction score
0
Hi folks,

I'm using Mandriva 2008 for some time and I now have to compile a program using fortran compiler. I've installed gcc f95 compiler and Intel FC but the compiling gives error when I use

ifort myfile.f
and
g95 myfile.f

In the manual of the program that I'll compile with fortran compiler, it is written as

f90 myfile.f

I think it calles a compiler using f90. Which fortran compiler is it and how can I install it?

Regards,

PS. I'm using fortran the first time:)
 
Technology news on Phys.org
The gnu fortran compiler is g95 (http://www.g95.org/)
The book is probably just written assumign that you are using any fortran 90 compiler.

What is the error you are getting - is it a fortran error or an isntall problem with the compiler?
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Back
Top