Home » Community » Newbie corner » INTEL compilers (Setup build method to use Intel Composer XE 2013 SP1)
INTEL compilers [message #43237] |
Thu, 12 June 2014 15:46  |
pjpuchyr
Messages: 2 Registered: June 2014
|
Junior Member |
|
|
Hi,
I've just started to use U++ in Windows 7. I have VS10 on my computer,
but don't use the Microsoft compilers. I use Intel Composer XE 2013 SP1
because I work with a lot of legacy (and new) Fortran code, as well as
C++.
I defined INTEL as the build method, entering the path to the
compiler bin, include and lib directories. But when I try to
compile anything, it fails immediately, with messages which clearly
indicate that the compile command invoked a Microsoft compiler.
How do I check the actual command being executed? How do I
change it to invoke the Intel compiler instead of the Microsoft
compiler?
Thanks
PJP
|
|
|
Re: INTEL compilers [message #43238 is a reply to message #43237] |
Thu, 12 June 2014 18:04   |
|
Hi,
Welcome to the forum
pjpuchyr wrote on Thu, 12 June 2014 15:46How do I check the actual command being executed? How do I
change it to invoke the Intel compiler instead of the Microsoft
compiler?
In "Setup" menu, there is option "Be verbose" which causes every executed command (and it's output) to be displayed. To specify exact compiler to use, there is a field "Compiler name" in the "Build methods" dialog. I believe you can put there full path to the compiler.
I must confess that I have heard about the Intel Composer XE. Does it use the icc for compiling or something else? I have never tried, but icc seems to be compatible with Visual C++, so it might actually work in theide without much hassle... However if it does not use icc, then I must warn you that getting theide to fully support new compiler might be rather more work.
Best regards,
Honza
[Updated on: Thu, 12 June 2014 18:05] Report message to a moderator
|
|
|
Re: INTEL compilers [message #43239 is a reply to message #43238] |
Thu, 12 June 2014 20:52   |
pjpuchyr
Messages: 2 Registered: June 2014
|
Junior Member |
|
|
Thanks for your reply, Honza.
By adding the compiler name "icl" and all appropriate paths in the Setup Build methods, I was able to get the 32 bit version to work, albeit with a number of compiler warnings. There are some compiler switches and defines which aren't correct, but even with the warning messages, my stripped down BlueBar example did link and run as expected.
The 64 bit version didn't link properly because there was still some confusion about x64 and x86.
If I get seriously into U++, I will try to fix these issues.
PJP
|
|
|
Re: INTEL compilers [message #43262 is a reply to message #43239] |
Wed, 18 June 2014 12:24  |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
Hi!
I do use intel 2013 compiler too.
Here is my .bm file. It works for me (you need to change library directories in Build methods - but I suppose it's simple).
My configuration is optimized for 'Intel speed' configuration with SSE* disabled to be able to run under wide variety of processors.
-
Attachment: Intel.bm
(Size: 1.39KB, Downloaded 215 times)
[Updated on: Wed, 18 June 2014 12:24] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 28 16:43:24 CEST 2025
Total time taken to generate the page: 0.01118 seconds
|