Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Intel C++ and X code

Giorgio_L_
Beginner
737 Views

 

Hello!

Until a year ago was possible integration between the IDE X code and INTEL C++  and then, with the new OSX this integration has not been possible.
Maybe I missed something ( or some comment in this forum) in the last few months but what is the situation now?
I have the OS X  version 10.9.4 and X code version 5.1.1.

Help please !!!!

Giorgio

0 Kudos
11 Replies
Denis_B_Intel1
Employee
737 Views

Hello Giorgio,

The integration of Intel Compiler into Xcode IDE is still there. Please let me know what version of the compiler do you use? Also please paste here the output of `ls /Library/Application\ Support/Developer/`.

Thanks,

Denis

 

0 Kudos
Giorgio_L_
Beginner
737 Views
Hello Denis!
 
The output of ls /Library/Application\Support/Developer/ is :
 
 
4.6    5.0
 
The version of the compiler:  if I do which 
 
gl-iMac:~ lg$ which icpc
/usr/bin/icpc
 
 
 
I.m using the following environment vars :
 
# set environment vars for Intel (R) C++ compiler
source /opt/intel/bin/compilervars.sh intel64
 
This is the list of icpc that i find in /usr/bin/
 
icpc                php                tar
bzless                icpc-13.0            php-config            tbl
bzmore                icpc-13.0-base            phpize                tccutil
c++                icpc-13.0.198            pic                tclsh
c++filt                icpc-13.0.198-base        pic2graph            tclsh8.4
c2ph                icpc-14.0            pico                tclsh8.5
c2ph5.12            icpc-14.0-base            piconv                tee
c2ph5.16            icpc-14.0.103            piconv5.12            telnet
c89                icpc-14.0.103-base        piconv5.16            testrb
c99                icpc-14.0.105            pidpersec.d            texi2dvi
c_rehash            icpc-14.0.105-base        pkgbuild            texi2pdf
caffeinate            icpc-14.0.139            pkill                texindex
cal                icpc-14.0.139-base        pl                textutil
calendar            icpc-14.0.168            pl2pm                tfmtodit
cancel                icpc-14.0.168-base
 
 
Giorgio
0 Kudos
Giorgio_L_
Beginner
737 Views

Hello Denis!

sorry for the previous message.

The output of ls /Library/Application\Support/Developer/ is :


4.6    5.0

The version of the compiler:  if I do which 

gl-iMac:~ lg$ which icpc
/usr/bin/icpc

 

I.m using the following environment vars :

# set environment vars for Intel (R) C++ compiler
source /opt/intel/bin/compilervars.sh intel64

This is the list of icpc that i find in /usr/bin/

           icpc                
           icpc-13.0           
           icpc-13.0-base           
           icpc-13.0.198            
           icpc-13.0.198-base        
           icpc-14.0           
           icpc-14.0-base            
           icpc-14.0.103            
           icpc-14.0.103-base       
           icpc-14.0.105            
           icpc-14.0.105-base       
           icpc-14.0.139           
           icpc-14.0.139-base        
           icpc-14.0.168            
           icpc-14.0.168-base

 

0 Kudos
Denis_B_Intel1
Employee
737 Views

Hello Giorgio,

Thanks for the information. I assume you have an older version of compiler that did not have support of Xcode 5.1. The latest compiler updates works fine with Xcode 5.1. To get more information about the version you use, you can run "icpc -V". 

To work around the issue, you can use the following command:
  sudo ln -s  /Library/Application\ Support/Developer/5.0 /Library/Application\ Support/Developer/5.1
and restart Xcode.
 

Thanks,

Denis

0 Kudos
Giorgio_L_
Beginner
737 Views

Hello Denis.

Thanks a lot.

The version that i'using is 14.0.2.139.

If is not update what can I do?

Giorgio

0 Kudos
Giorgio_L_
Beginner
737 Views

Hello Denis!

The sudo command functioned in the sense that it creates the link. but X code still does not "see" Intel.
With the previous version I created in X code in a new Target roule and Intel C++ list appeared.
Now it asks me a custum script; What should I write?

Thanks

Giorgio

 

0 Kudos
Denis_B_Intel1
Employee
737 Views

Hello Giorgio,

Xcode should have "seen" Intel compiler after you created the link. Please make sure you restarted Xcode (Quit then Open).
If that does not work could you paste output from 'ls  /Library/Application\Support/Developer/5.1/Xcode/Plug-ins'.

When Intel compiler integration is properly loaded into Xcode, "Intel C++ Compiler XE 14.0" will appear on the list for the new Build Rule. 

Thanks,

Denis

 

0 Kudos
Giorgio_L_
Beginner
737 Views

Hello Denis!

Nothing happens. Xcode does not see Intel.
I also tried to reinstall X code but to no avail.
The directory/Library/Application\Support/Development contains the sub directories 4.5 and 5.0 with the sub directories Apple/Plug-ins while the 5.1 appears but classified not directory but link

  ls /Library/Application\Support/Developement/5.1 simply sed : not a directory 

Giorgio

0 Kudos
Denis_B_Intel1
Employee
737 Views

Hello Giorgio,

Perhaps there is something wrong with the link because 'ls' should show its content as if it was a usual directory.

Let's try copy instead of link then:
$ sudo rm  /Library/Application\ Support/Developer/5.1
$ sudo cp -r /Library/Application\ Support/Developer/5.0 /Library/Application\ Support/Developer/5.1

Please let ne know the results.

Thanks,
Denis

0 Kudos
Giorgio_L_
Beginner
737 Views
Great. Now it works In the Directory Developer I do. sudo cp -r 5.0. 5.1 Giorgio
0 Kudos
Denis_B_Intel1
Employee
737 Views

Good news!

Thanks,

Denis

0 Kudos
Reply