1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Trying to look for a fortran compiler for my windows XP

  1. Sep 5, 2006 #1
    not sure where this goes, but I am trying to look for a fortran compiler for my windows XP OS that is free so i can get into doing some programming. My school may be getting into a engineering competition and i would be a frontrunner on the team and want to get a headstart. if anyone can help i would appreciate it.
     
  2. jcsd
  3. Sep 5, 2006 #2
    Just one note that might or might not be applicable to your case but remember that it is all but guaranteed that a FORTRAN compiler will execute some code any faster than say a C program on a PC.
     
  4. Sep 5, 2006 #3

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Have you tried a google search? There are probably dozens of freely-available Fortran compilers for Windows.

    I personally would suggest installing Cygwin, which includes the GNU compiler collection, including g77, the GNU Fortran 77 compiler.

    http://www.cygwin.com

    - Warren
     
  5. Sep 5, 2006 #4

    Astronuc

    User Avatar

    Staff: Mentor

  6. Sep 5, 2006 #5
    got my cygwin up and am having some trouble opening up the binaries required to get the compiler working. :( i am quite frustrated.
     
  7. Sep 5, 2006 #6

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Open the Cygwin bash shell. Type g77 inputfile -o outputfile to compile your source code, inputfile, into an executable, outputfile.

    - Warren
     
  8. Sep 5, 2006 #7
    g95(not to be confused with gfortran, the GNU F90 compiler) is your best bet. Not the GNU compilers if you're using windows. I say this from an ease of use persepective. Works from DOS, no need to deal with cygwin (which I've always considered to be a hassle). Also its very good about sticking strictly to the standard, and its available on every platform you could ever want, a major plus if portability becomes a concern (of course, so are the GNU compilers, but I'm really less of a fan of those for fortran, in part because upgrading them can be an absolute nightmare if you don't know what you're doing).
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Trying to look for a fortran compiler for my windows XP
Loading...