Fortran Newbie: Help Installing Compiler

  • Context: Fortran 
  • Thread starter Thread starter kevin86
  • Start date Start date
  • Tags Tags
    Fortran
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
kevin86
Messages
20
Reaction score
0
Hi I need a fortran compiler and mostly, I need help installing those binaries or folders and files. I am a newbie and do not know how to install one of those compilers. If anyone has a better suggestion for a compiler that is free please help
 
Physics news on Phys.org
kevin86 said:
Hi I need a fortran compiler and mostly, I need help installing those binaries or folders and files. I am a newbie and do not know how to install one of those compilers. If anyone has a better suggestion for a compiler that is free please help


g95 done by andy vaught is a decent free one for all platforms. Note that it is very strict on the language standard, so be sure to stick to it (on the upside, code that it compiles will pretty much always compile anywhere else).
 
I agree as I don't know which OS you are using but as far as free that I have had experience with.

Windows:->In windows these should be very easy to install.
g95
gfortran->note does not work on all windows os (check the FAQ.)
Salford Personal Edition->Installer installs a lot of goodies, nice ide, etc, but you have a pause before any executable runs as Salford let's you know you are using the free version.

For mac osx:
gfortran
g95
Intel->Demo, hard to link mkl and mp, but works excellent after everything is configured well.

Linux:->except intel, these shoudl be extremely easy to install.
gfortran
g95
Intel->there is a demo, and if you really scourge the site (it seems to get moved) there is a long term free.