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

Intel Fortran Compiler with Xcode 2.5

jmmarkle
Beginner
964 Views

I am new to the Mac world and I am having some difficulty getting the Intel Fortran compiler for Mac OS X to run. I am running Tiger (OS X 10.4.11) and have installed Xcode version 2.5. I have created a Project in Xcode and added an existing Fortran source code "source.f90" as described on pages 11 and 12 "Creating an Xcode Project" of the manual titled "Intel Fortran Building Applications" and found at http://software.intel.com/file/1841

When I move to the next set ofinstructions, shown below

To select the Intel Fortran compiler in Xcode, do the following:

1. Double-click the target you want to change in the Target group under the

Groups & Files

list.

2. In the Target Info window, click Rules.

3. To add a new rule, click the + button at the bottom, left-hand corner of the

Target Info

window.

4. From the new Rule section, choose FORTRAN source files using Intel

Fortran Compiler.

I encounter a problem with Xcode at step 4. Xcode does not provide the "Intel Fortran Compiler..." as an option and as shown on page 13 of the manual. I can compile the code from the command line but would like to use Xcode as my development environment. Has anyone run into this problem?

0 Kudos
2 Replies
Ron_Green
Moderator
964 Views
I have a couple of questions/comments:

From your discription, I can't tell if you installed Xcode or Ifort first. You need to install Xcode PRIOR to installing Intel Fortran. The Intel Fortran installation needs to make hooks into Xcode.

If this isn't it, try uninstalling ifort:
/opt/intel/fc/10.1.xxx/bin/uninstall.sh

then reinstall.

If all else fails, can you include the version of ifort you are using?

ron
0 Kudos
jmmarkle
Beginner
964 Views

I uninstalled ifort and reinstalled it. Unfortunately the results were the same. I am using version 10.0.016 of the compiler.

Jeff

0 Kudos
Reply