(.for) file in a Linux system

nafrin

New Member
Joined
Jul 24, 2019
Messages
2
Reaction score
1
Credits
0
Hi all: How can I compile (.for) file in a Linux system using terminals?
confused.gif
 


AFAIK .for files are fortran. So you'll need to install gfortran (GNU fortran compiler). It should be available in the repos of most, if not ALL linux distros.

Once you have gfortran installed - take a look at it's man-page and you should be able to work out which options you'll need to supply to gfortran to compile your code.

I haven't done anything with fortran for over 12 years and even then - it was a short project at a previous job. So I can't remember a lot about it!
 


Top