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

problem during compilation

akrallis
Beginner
2,635 Views
I'm currently developing my fortran applications using Intel Fortran 11 integrated with VS2008 with no problems. I'm trying to use the trial version of Intel Fortran 2011 Update 1 for mac OS integrated with Xcode 3.2.5, to evaluate the product. I followed the steps described in 'getting_started_f.pdf' and I tried to run an application of mine developed under Intel fortran for windows. During compilation the following message appears:

CompileFortran build/Untitled.build/Debug/Untitled.build/Objects-normal/x86_64/Exxon_Thermo.o Exxon_Thermo.f90

cd /Users/akrallis/Desktop/Untitled

/usr/bin/ifort-11.0-base/bin/intel64/ifort -arch x86_64 -dev-usr-root=/Developer/usr -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -g -O0 -fno-omit-frame-pointer -I/Users/akrallis/Desktop/Untitled/build/Debug/include -module /Users/akrallis/Desktop/Untitled/build/Untitled.build/Debug -c /Users/akrallis/Desktop/Untitled/Exxon_Thermo.f90 -o /Users/akrallis/Desktop/Untitled/build/Untitled.build/Debug/Untitled.build/Objects-normal/x86_64/Exxon_Thermo.o

error: can't exec '/usr/bin/ifort-11.0-base/bin/intel64/ifort' (No such file or directory)

Command /usr/bin/ifort-11.0-base/bin/intel64/ifort failed with exit code 71

Could you please assist me with this problem?Arethere compatibility problems between xcode 3.2.5 and Intel Fortran 2011 Update 1?Is there a comprehensive document provided from Intelexplaining step-by-step all the possible settings which must be introduced in xcode in order to run a fortran application?
Thank you in advance and I'm looking forward for yourresponse.
0 Kudos
1 Solution
Kevin_D_Intel
Employee
2,635 Views

Parts of the initial posted errors suggest Xcode settings may not be correct and the subsequent error suggests there may be a license file issue as well. You should resolve the license issue first as that will impede compilation under Xcode too.

Try these steps to resolve both issues:

1. When registering for the Intel Fortran Composer XE 2011 for Mac OS X evaluation you should have received a license file via email. Place that license file on your system (as root) into /Users/Shared/Library/Application Support/Intel/Licenses and thenset the permissions to include group/other "read" at least (i.e. use chmod file mode bits of at least "644").

2. Try compiling a trivial Fortran program via the ifort command line and include the -V option and verify the version of the compiler is as shown below.

$ ifort -V hello.f90
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.1.122 Build20101110
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.

Intel Fortran 12.0-1230
@(#)PROGRAM:ld PROJECT:ld64-97.17

3.If the simple command-line compilation succeeds, then open your Xcode solution and
a. Select/highlight (left-click) your executable under Target, right-click and select Get Info.
b. On the Rules tab, look for the Default Fortran rule and ensure it is set to "using: Intel Fortran Compiler XE 12.0 (Limited Feature)". Yours is likely set to use something like "Unknown compiler com.intel.compilers.ifort.11_0_0".
c.Once the 12.0 compiler is selected, dismiss the Info sub-window and try rebuilding your target.

Hope that helps.

View solution in original post

0 Kudos
4 Replies
mecej4
Honored Contributor III
2,635 Views
Before trying to use IFort with Make, did you try compiling a simple Fortran program directly with the compiler? The messages indicate that there were problems with exec-ing the compiler driver itself. A direct compilation attempt could help to narrow down the problem.
0 Kudos
akrallis
Beginner
2,635 Views
I try to compile a simple program (just writing something on the screen) using xcode 3.2.5 and now I get the message:

ifort::0:0 error #10310: Failed to enable trusted storage check for licensing: WARNING: Enable Trusted Storage failed (flexnet error code 1). Trusted Storage based license could not be supported

0 Kudos
mecej4
Honored Contributor III
2,635 Views
Well, that establishes that the error is related to interactions between the license software and a software security system such as SELinux, so the problem has almost nothing to do with the compiler itself.

Since you are running on a Mac OSX system, which I have no experience with, please wait until one of the Intel people responds. In the interim, you may find a few related posts by searching the forums. For example, see this thread.
0 Kudos
Kevin_D_Intel
Employee
2,636 Views

Parts of the initial posted errors suggest Xcode settings may not be correct and the subsequent error suggests there may be a license file issue as well. You should resolve the license issue first as that will impede compilation under Xcode too.

Try these steps to resolve both issues:

1. When registering for the Intel Fortran Composer XE 2011 for Mac OS X evaluation you should have received a license file via email. Place that license file on your system (as root) into /Users/Shared/Library/Application Support/Intel/Licenses and thenset the permissions to include group/other "read" at least (i.e. use chmod file mode bits of at least "644").

2. Try compiling a trivial Fortran program via the ifort command line and include the -V option and verify the version of the compiler is as shown below.

$ ifort -V hello.f90
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.1.122 Build20101110
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.

Intel Fortran 12.0-1230
@(#)PROGRAM:ld PROJECT:ld64-97.17

3.If the simple command-line compilation succeeds, then open your Xcode solution and
a. Select/highlight (left-click) your executable under Target, right-click and select Get Info.
b. On the Rules tab, look for the Default Fortran rule and ensure it is set to "using: Intel Fortran Compiler XE 12.0 (Limited Feature)". Yours is likely set to use something like "Unknown compiler com.intel.compilers.ifort.11_0_0".
c.Once the 12.0 compiler is selected, dismiss the Info sub-window and try rebuilding your target.

Hope that helps.

0 Kudos
Reply