Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

Why is ifort installed in two place on Mac?

Li_Dong
Beginner
498 Views
Hi all,

I found that the intel fortran compiler is installed under both /opt and /Developer/opt. Why install twice? I have chosen to install it under default directory (/Developer/opt).
Cheers,
DONG Li
0 Kudos
3 Replies
msbriggs
Beginner
498 Views
Probably one copy for use from the command line, and another copy with Xcode. Apple does the same thing with gcc -- a copy in /usr, and another in /Developer/usr. /usr is the standard UNIX location -- I don't know why Apple thinks it necessary to have a second copy for Xcode.
0 Kudos
Li_Dong
Beginner
498 Views
Hi,
Maybe I can delete one of them, because it is a little annoying and taking more space for this duplication.
Cheers,
DONG Li
0 Kudos
Jeffrey_A_Intel
Employee
498 Views
Quoting DONG Li
Hi all,

I found that the intel fortran compiler is installed under both /opt and /Developer/opt. Why install twice? I have chosen to install it under default directory (/Developer/opt).
Cheers,
DONG Li

What you see is expected. The Intel compilers, as well as the Apple development tools, are typically installed in both /usr (for use from the command line) and /Developer (for use from Xcode). This was done to allow those who keep their Xcode development environment on removable/portable media to move their Xcode installation, including any installed Intel compilers, intact from one system to another. (In Mac OS X 10.5/Xcode 3.1, there were still a few issues with this; I think they have been fixed in 10.6/3.2.)

While it is possible to install only the Apple-supplied command line tools, I believe that if you install Xcode, you always have both the command-line tools and those in the Xcode directory tree.

The Intel developer tools (e.g., compilers, libraries) are currentlyinstalled both in /usr and the selected Xcode directory tree. (If you have more than one version of Xcode installed, simply install the Intel compiler multiple times, selecting a different Xcode directory tree each time.)

In a future major release of the Intel compilers for Mac OS X, you will be given the option to install just the command-line tools, just the Xcode-integrated tools or both.

0 Kudos
Reply