View Full Version : I need help compiling Fortran in OS X.
66217
Apr 16, 2007, 03:19 PM
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?
Eraserhead
Apr 16, 2007, 05:28 PM
I have used g95 (http://www.g95.org/) 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...
AussieSusan
Apr 16, 2007, 07:09 PM
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.
Susan
66217
Apr 16, 2007, 09:05 PM
I have used g95 (http://www.g95.org/) 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...
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.:)
Nuc
Apr 16, 2007, 10:51 PM
I use gfortan (http://hpc.sourceforge.net/). I also used g95 which is good as well.
Yes download x86 OSX (http://ftp.g95.org/g95-x86-osx.tgz)
Nuc
Edit: check out this site (http://www.macresearch.org/xcode_gfortran_contest_winner_damien_bobillot) as well.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.