If the topic is how to compile fortran code in the Linux environment
, the question could be rephrased as "What free fortran compilers are available for Linux?". Answer given by knudfl: gfortran (GNU fortran) is available in almost all linux distributions nowadays. Other chances: g95, ifort (Intel Fortran). The latter requires a license which is free only for personal use.
If the topic is how to compile fortran code in general
, I strongly suggest to read a good fortran manual, since fortran programming is not something you can improvise. One of the first topics in all guides is "how to compile and run a simple piece of code".
Originally Posted by dipica
Sorry but this is rude! Tinkster provided a useful advice: look at the manual pages related to fortran on your system (at least to discover what fortran compilers you have at hand). It looks like you have not so much experience in Linux to understand what the "man" command is. Ok, no problem. But please, put some words together in a question if you wish more chances to receive a valuable help.