I need help compiling Fortran in OS X.

Discussion in 'Mac Programming' started by 66217, Apr 16, 2007.

  1. 66217 Guest

    Jan 30, 2006
    I downloaded and installed the Intel compiler, but now I don't know how to run it.

    In Windows I use Salford Plato to create and compile in .f95 And Salford Plato is very user friendly. It is easy to use it.

    But I have no idea how to use this Intel Compiler. Anyone here know how to open it and compile?
  2. Eraserhead macrumors G4


    Nov 3, 2005
    I have used g95 personally, (Intel is x86 only, and I only had a iMac G5 at the time.

    For the Intel version you copy it into /usr/bin and then use i386-apple-darwin8.9.1-g95 to run it using Terminal

    However for the Intel compilers, I have no idea, I assume you have an Intel Mac...
  3. AussieSusan macrumors member

    May 29, 2006
    Melbourne, Australia
    Also Fortran under Xcode

    I'm not sure of the source of the compiler, but there is an Xcode plugin for a Fortran compiler (google "xcode fortran" and you should find the references).

    This will give you the Xcode editing environment, if that helps.

  4. 66217 thread starter Guest

    Jan 30, 2006
    Can I use the g95 on an Intel Mac? Which do I download? The x86OSX?

    Sorry for asking so much, but I am not very good at these things. I like them, but I haven't learned much about them yet.:)
  5. Nuc macrumors 6502a


    Jan 20, 2003
    I use gfortan. I also used g95 which is good as well.

    Yes download x86 OSX


    Edit: check out this site as well.

Share This Page