Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Ifort without Xcode

ifort_user
Beginner
1,856 Views

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.

0 Kudos
7 Replies
Kevin_D_Intel
Employee
1,856 Views

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.

0 Kudos
ifort_user
Beginner
1,856 Views

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.

0 Kudos
Kevin_D_Intel
Employee
1,856 Views

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.

0 Kudos
ifort_user
Beginner
1,856 Views

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.

0 Kudos
Kevin_D_Intel
Employee
1,856 Views

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.

0 Kudos
ifort_user
Beginner
1,856 Views

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.

0 Kudos
ifort_user
Beginner
1,856 Views
So I bit the bullet and became an Apple Developer to get the free Xcode download. I got Xcode 2.5 which took nearly an hour to download and takes over a Gig of space on my precious hard drive. The good news is that ifort is really really fast compared to gfortran. A benchmark test that took 16s to run with code compiled via gfortran (with no optimizer options) took 3.5s to run under ifort. On balance, worth the effort. But still annoyed by the process.
0 Kudos
Reply