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

Compilers install, but don't work -- Mac OS X 10.9

Peter_B_1
Beginner
1,369 Views

Good afternoon,

 

I am trying to get Intel Composer XE 2015 to work on a Mac Pro (3.5 GHz 6-core Intel Xeon E5) running Mac OS X 10.9.5.  

Installation proceeds normally and I get the green checkmark that says the compilers have been installed and activated successfully.  However, when I try to use them, the Fortran compiler gives a segmentation fault and the C++ compiler errors out with a complaint of an illegal instruction.

$ifort SimpleTest.f90
Segmentation fault: 11

$ifort --version
Segmentation fault: 11

$icpc SimpleTest.cpp
Illegal instruction: 4

$icpc --version
Illegal instruction: 4

Note: the same errors occur with Intel Composer XE 13 and 14.  

0 Kudos
5 Replies
Ron_Green
Moderator
1,369 Views

What version of Xcode did you have installed before you installed the Intel compilers?

Did you :

source /opt/intel/bin/compilervars.sh intel64

prior to using ifort or icc?

ron

0 Kudos
Peter_B_1
Beginner
1,369 Views

Thanks for the reply.

I have Xcode version 6.1.  Sourcing the listed file didn't help.  I also had this problem on my Macbook Pro (Intel Core i7, Xcode 6.1, OS X 10.9.5) and upgrading from Intel 14.01 to version 15 seems to have fixed it.  

Still haven't figured out what the problem is on the Mac Pro.  I've tried resetting the environment variables like DYLD_LIBRARY_PATH -- as it looks like it can't find the correct run-time libraries -- then reinstalling the compilers, but that doesn't work either.  The install/activation process went fine; I pointed the installer to a local copy of a license file, but maybe it's not finding it upon startup?  I'm grasping at straws here -- I've been using the composer suite for Mac for five or six years (both personally and at work) and I've never seen anything like this.  

Pete

0 Kudos
Ron_Green
Moderator
1,369 Views

On the Mac Pro - you also have 10.9.5 and Xcode 6.1?

And the compilers are v13.0 and v14.0 Update 1?  If so the problem is that even your 14.0.1 only supports Xcode 5.0, and probably will not work with 6.1 - well I guess obviously it does not work.  Even OS X 10.9 is not supported.  Is there any chance you can upgrade the compiler on it to 15.0?  I don't think the combo of OS X and Xcode will work with these old compilers:

From the release notes of 14.0.1:

1.3 System Requirements
 An Intel® 64 architecture based Apple* Mac* system
 1GB RAM minimum, 2GB RAM recommended
 2GB free disk space
 OS X* 10.8 and Xcode* 4.6 or Xcode* 5.0 and OS X* 10.8 SDK with Command Line 
Tools component of Xcode installed
 gcc* 4

Requirements on OS X are very specific.  OS X and Xcode move fast and change libraries and bin utils frequently.  So you either have to move compilers along with the OS and Xcode changes OR freeze your Mac at a specific OS X and Xcode.    Always check the System Requirements in the Release Notes for supported configurations.  

https://software.intel.com/en-us/articles/intel-composer-release-notes-by-version

https://software.intel.com/en-us/articles/intel-fortran-composer-xe-2013-sp1-release-notes

 

 

 

0 Kudos
Peter_B_1
Beginner
1,369 Views

This is happening on the Mac Pro with Intel version 15.0.0.   

0 Kudos
Varvara_R_Intel
Employee
1,369 Views

Hi Peter,

For Xcode 6.1 please try this solution: https://software.intel.com/en-us/forums/topic/534599#comment-1803105.

0 Kudos
Reply