From: Grue6502 on 7 Feb 2010 16:18 Hello, I am new to Fortran and am wondering if their are any compilers for Mac OS X? I know specifics on my intended use would be wanted by any answerers, but I have none. Basically I've read that it still beats the other languages for number crunching, which caught my interest. Therefore I'm just looking for a compiler so I can play around with Fortran to see if I like the language. My previous experiences with programming are Java, C, and a little assembly. I've done some examination of the syntax and I like what I see. However, one can't know if they really like using a language until they, well...use it. Any help would be appreciated. Thank you.
From: steve on 7 Feb 2010 16:23 On Feb 7, 1:18 pm, Grue6502 <bsv1...(a)gmail.com> wrote: > Hello, > > I am new to Fortran and am wondering if their are any compilers for > Mac OS X? I know specifics on my intended use would be wanted by any > answerers, but I have none. Basically I've read that it still beats > the other languages for number crunching, which caught my interest. > Therefore I'm just looking for a compiler so I can play around with > Fortran to see if I like the language. My previous experiences with > programming are Java, C, and a little assembly. I've done some > examination of the syntax and I like what I see. However, one can't > know if they really like using a language until they, well...use it. > Any help would be appreciated. Thank you. http://gcc.gnu.org/wiki/GFortran -- steve
From: Gordon Sande on 7 Feb 2010 17:54 On 2010-02-07 17:18:16 -0400, Grue6502 <bsv1138(a)gmail.com> said: > Hello, > > I am new to Fortran and am wondering if their are any compilers for > Mac OS X? I know specifics on my intended use would be wanted by any > answerers, but I have none. Basically I've read that it still beats > the other languages for number crunching, which caught my interest. > Therefore I'm just looking for a compiler so I can play around with > Fortran to see if I like the language. My previous experiences with > programming are Java, C, and a little assembly. I've done some > examination of the syntax and I like what I see. However, one can't > know if they really like using a language until they, well...use it. > Any help would be appreciated. Thank you. There are several commercial compilers. NAG, Absoft and Intel are the usual suspects. This crowd offers their product for Windows and Linux as well. GNU comes in Gfortran and G95 flavors for multiple platforms. If you are new to Fortran you will particularly interested in debugging. NAG has the best as they are the only ones to provide full undefined variable checking. The real McCoy of run time checking and not the check box imitator of reporting the absence of any initialization. All provide subscript checking.
From: William Clodius on 7 Feb 2010 19:22 Grue6502 <bsv1138(a)gmail.com> wrote: > Hello, > > I am new to Fortran and am wondering if their are any compilers for > Mac OS X? I know specifics on my intended use would be wanted by any > answerers, but I have none. Basically I've read that it still beats > the other languages for number crunching, which caught my interest. > Therefore I'm just looking for a compiler so I can play around with > Fortran to see if I like the language. My previous experiences with > programming are Java, C, and a little assembly. I've done some > examination of the syntax and I like what I see. However, one can't > know if they really like using a language until they, well...use it. > Any help would be appreciated. Thank you. The standard Mac development environment is XCode, which comes with the standard upgrade disks, and is available at their site. It is gcc 4.2 based. Because Apple disagrees with some of the provisions in the GPL licence that applies to later versions of gcc, they have no plans to upgrade to later versions of gcc. It does not come with a version of fortran, but older versions of gfortran can be installed to work with that version. I suspect the same can be said for g95, and that the commerical compilers will automatically work. Newer versions of gfortran, and probably g95, require a separate installation of a comparable version of gcc. Later versions of gcc, which come with gfortran, are available through MacPorts, http://www.macports.org/. -- Bill Clodius los the lost and net the pet to email
From: Richard Maine on 7 Feb 2010 21:56 William Clodius <wclodius(a)lost-alamos.pet> wrote: > Newer versions of > gfortran, and probably g95, require a separate installation of a > comparable version of gcc. Later versions of gcc, which come with > gfortran, are available through MacPorts, http://www.macports.org/. I have the latest version of g95 installed on this OS X 10.6 system. I don't recall having installed anything special for it other than the regular Xcode stuff. I certainly didn't do a separate gcc install; it is a new enough system (27" iMac, ordered as a "birthday present" for myself as that's the day they came out) that I'd have remembered something like that. Might be that the g95 install included whatever gcc stuff was needed. Sort of looks like that, in fact. But I didn't dig in detail. I just note that I did not need to separately install anything else (except for the normal XCode stuff.) -- Richard Maine | Good judgment comes from experience; email: last name at domain . net | experience comes from bad judgment. domain: summertriangle | -- Mark Twain
|
Next
|
Last
Pages: 1 2 3 Prev: what GUI for your fortran programs? Next: direct access with Intel fortran |