- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I install Ifort without Xcode on my MacBook (Leopard) ? The ifort documentation suggests this is possible, but there appears to be no path to do so in the installation process. After clicking on the package manager I get prompted for the Xcode directory, but there is no option to leave this blank or bypass this step.
Thank you for any advice.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the docs suggest such then we need toclearthat up.Where are you reading this in the docs?
ifort cannot be installed without having Xcode installed.You can use the ifort compiler via the command-line so you aren't required to use Xcode, but the compiler relies on Xcode and the underlying GNU environment (linker & libs) so Xcode must be installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On page 5 of the release notes for v 11.1.084:
"If you will be using Xcode*, please make sure that a supported version of Xcode is installed. If
you install a new version of Xcode in the future, you must reinstall the Intel Fortran Compiler
afterwards. "
The "If" suggests that if one will not be using Xcode, one doesn't need it. Under the system requirements, however, the need for Xcode is made clear, so I suppose the documentation is not ultimately misleading. Just frustrating.
I like the command line. Can I use an earlier version of ifort with my license number? What version do I need to use to avoid having to have Xcode? Is this available anywhere for Max OS 10.5 (leopard) ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for pointing this out. This was trying to say if one intended on using the compiler under theXcode IDE then....... Butnot hint that Xcode was not needed for command-line only usage. This will be made clearer in a future release.
Yes, your license permits using earlier compiler versions (see Obtaining and Installing an Older Version) but all versions of the Intel Fortran compiler for Mac OS X require Xcode be installed (see Table of compatible compilers/Xcode) even for command-line only usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmmm.... This doesn't seem a reasonable or logical requirement as I have no use for Xcode and it didn't come with my OS and I'm not an Apple Developer so can't freely get it. I guess I'll stick to gfortran then, when on the Mac. My ifort for linux had no such stipulations.
Thanks, anyway, for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't installed gfortran myself but according to the GCC Wiki page (gfortran installer for Mac OS X) it has the same requirement stating"To install it, you need to have the recent Apple Developer Tools installed (XCode 2.5 or later)."
The Linux Intel Fortran compiler also relies on the GNU (gcc/g++) development tools and libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now that is odd, because I actually have had gfortran installed on my mac for years, yet find no trace of Xcode. At some point I must have installed gfortran (I still have the dmg) but I have no recollection of this.
Because this has piqued my curiosity, I just reinstalled it from the dmg to be sure, and was never prompted for Xcode. This online documentation from gnu is misleading!
Yes, I have gcc for everything I do on linux. But gcc is freely available, and is needed for many things. I can just see no reason for me to ever need Xcode. I write my code using vi and compile it on the command line.
It just seems strange, and very MicroSofty, to me to require the user to have some fancy software in order to be able to install and use something that can be run in a barebones command-line environment. I can probably somehow acquire this software, but I don't like having to do so, and find this solution very inelegant.
Thanks for your attention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page