Results 1 to 7 of 7

Math Help - FORTRAN compiler for windows?

  1. #1
    Member
    Joined
    Mar 2007
    Posts
    206
    Awards
    1

    FORTRAN compiler for windows?

    Hi,

    Does anybody know where I can get my hands on a FORTRAN compiler for windows? I seem to be having a hard time finding F90 or higher compiler on the net. From what I understand there is GNU FORTRAN which is based on F77 with some F90 features which works on unix systems and has been ported to windows. Just wondering what everyone else was using and where I can find a copy (preferably free)?

    Regards Elbarto
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Jan 2009
    Posts
    591
    Quote Originally Posted by elbarto View Post
    Hi,
    Does anybody know where I can get my hands on a FORTRAN compiler for windows? I seem to be having a hard time finding F90 or higher compiler on the net. From what I understand there is GNU FORTRAN which is based on F77 with some F90 features which works on unix systems and has been ported to windows. Just wondering what everyone else was using and where I can find a copy (preferably free)?
    Regards Elbarto
    I used Google: "FORTRAN compiler for windows"
    There's a bunch available.

    Try this for additional info:
    Fortran
    Fortran Resources
    and
    Fortran 77/90/95 Compilers for Windows and Linux
    16 October 2009


    or these:
    G95 is an open source Fortran 95 compiler.
    ...most of the ISO Fortran 95 standard has been implemented. Platforms supported include Linux(x86, Intel IA64, AMD x86_64), Windows, Macintosh OS X, FreeBSD, Sparc Solaris and HP-UX.

    Gfortran - the GNU Fortran Compiler
    gfortran, part of the GNU Compiler Collection, is a free Fortran 95/2003 compiler. Like all things GNU, it comes with source code. Precompiled binaries (executables) are available for Windows, Linux, Mac OS X, the old Mac OS (PPC), etc.

    Salford FTN95 Fortran 95 Compiler
    Salford FTN95 is a Fortran 95 compiler that supports Fortran 77, Fortran 90 and Fortran 95. The compiler generates exectuables for Win32 (but Win32 console and GUI applications) and the Microsoft .NET framework.

    There are a lot more.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Mar 2007
    Posts
    206
    Awards
    1
    Thannks Aidan. I have been reading a bit about g95 and gfortran. I'm not sure exactly what the limitations of these compilers are because I don't think they have dirrect support for compiling dll's. Salford seems like it might be a good option however. I probally should have mentioned that I am interested in learning a liitle fortran to see if I can write my own dll's and use them in excel vba to speed up my current rutines. Fortran seems to have better support for multiple dimensional arrays than c so I am interested to see what it offers for a largish excel project.

    Regards Elbarto
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor arbolis's Avatar
    Joined
    Apr 2008
    From
    Teyateyaneng
    Posts
    1,000
    Awards
    1
    I use gfortran under windows xp. I never had any problem with it yet.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member
    Joined
    Mar 2007
    Posts
    206
    Awards
    1
    Sorry to bring up this post again, but I was looking for a point in the right direction for compiling dll's with fortran. I managed to find a tutorial on how to compile a dll with the salford compiler, but I do not think this is an option in the personal edition. I would be happy to buy a less expensive commercial compiler if necessary.

    Also, what is the different between fortran and visual fortran?

    For a language that was popular for so many years, the information is very scattered an less informative then some modern languages like python and matlab etc. I am going to try and get my hands on "FORTRAN 90 for Scientists and Engineers" which sounds like a good text.

    The main reason for my interest in fortran is because I wan't to compile a dll that I can call from excel (or any other package if I need to). I dont like working with arrays in VBA and c's syntax doesn't appear very intuitive for engineering application although I have no experience in C. So after browsing the net I eventually arrived at fortran. Does this sound like a good reason to use fortran? I am open to other suggestions.

    Many Thanks,
    Elbarto
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Bar0n janvdl's Avatar
    Joined
    Apr 2007
    From
    Meh
    Posts
    1,630
    Thanks
    6
    Quote Originally Posted by elbarto View Post
    [/I]The main reason for my interest in fortran is because I wan't to compile a dll that I can call from excel (or any other package if I need to). I dont like working with arrays in VBA and c's syntax doesn't appear very intuitive for engineering application although I have no experience in C. So after browsing the net I eventually arrived at fortran. Does this sound like a good reason to use fortran? I am open to other suggestions.

    Many Thanks,
    Elbarto
    See if this article helps you at all --> How To Create a FORTRAN DLL and Call It from Visual Basic
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Member
    Joined
    Mar 2007
    Posts
    206
    Awards
    1
    thanks janvdl,

    That is a helpful tutorial, but the problem remains that the open source compilers dont allow you to compile a dll dirrectly on the windows platform. That tutorial uses Microsoft FORTRAN Optimizing Compiler version 5.1 apparently. It is a good reference for when I find a compiler though so thank you for your time.

    Regards Elbarto
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Best LaTeX Compiler
    Posted in the LaTeX Help Forum
    Replies: 6
    Last Post: March 27th 2011, 06:01 AM
  2. FORTRAN still good?
    Posted in the Math Software Forum
    Replies: 7
    Last Post: July 9th 2010, 09:54 AM
  3. Compatibility of Matlab with Windows 7
    Posted in the Math Software Forum
    Replies: 2
    Last Post: June 3rd 2010, 01:29 AM
  4. Windows Calculator Clone
    Posted in the Math Software Forum
    Replies: 2
    Last Post: September 16th 2008, 07:20 AM

Search Tags


/mathhelpforum @mathhelpforum