Welcome to the Intel C++ Compiler Forum!

Welcome to the Intel C++ Compiler Forum!

Hello,

I welcome you to the Intel C++ compiler discussion forum.

You will like this forum if you are a developer interested in C++, parallelism and performance optimization.

Cheers!
Ganesh

36 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Hi.

Could you answer or the assigned person, the query as asked in http://software.intel.com/en-us/forums/showthread.php?t=62202 or you can check "Help: Vectorization, x87 & SSE2" in AVX forum.

and

http://software.intel.com/en-us/forums/showthread.php?t=62183 in Compiler forum as "Vectorization Limitations - The step towards SIMD Programming".

Looking forward.

~BR

Quoting - Ganesh Rao (Intel)

Hello,

I welcome you to the Intel C++ compiler discussion forum.

You will like this forum if you are a developer interested in C++, parallelism and performance optimization.

Cheers!
Ganesh

I didn't get you bro....Is intel is making C++ compiler software???Or intel has already made that??but intel is in the hardware part then why does it has made this C++ compiler software...can i get the link for that??

New Volkswagen CC - http://justluxe.com/vw Home - https://www.adt.com/resi/programs/customhome_swf/main?cid=CHF0001

Intel has it own c++ compiler and many tools and library for optimizing, profiling and speed up the application on windows as well as Linux

some tools/libraries are
Intel vtune
Thread Building Block
Math Kernel Library
etc..

Regards,
-Digs
Quoting - coolman010

Quoting - Ganesh Rao (Intel)

Hello,

I welcome you to the Intel C++ compiler discussion forum.

You will like this forum if you are a developer interested in C++, parallelism and performance optimization.

Cheers!
Ganesh

I didn't get you bro....Is intel is making C++ compiler software???Or intel has already made that??but intel is in the hardware part then why does it has made this C++ compiler software...can i get the link for that??

Quoting - pramodblackbird

I dont see the point here am i missing something in the qestion what are you acctualy asking?

Printed Lanyards from lanyardpass.co.uk

Quoting - Ganesh Rao (Intel)

Hello,

I welcome you to the Intel C++ compiler discussion forum.

You will like this forum if you are a developer interested in C++, parallelism and performance optimization.

Cheers!
Ganesh

thank for welcoming us to intel c++ compiler but if you can help me is there any like msdn for intel compiler

Hussein Alkhalissi

Quoting - Hussain Alkhalissi

thank for welcoming us to intel c++ compiler but if you can help me is there any like msdn for intel compiler

I assume you mean the msdn online documentation. No, we don't have the exact one, but we do post the full documentation online for you to download.

With 11.1 release, the documentation is integrated into Visual Studio. So when you seach the doc, you can seach the Intel C++ Compiler documentation.

Jennifer

i am using a 64 bit machine. qith fedoea 11. this is what a uname -a gives
$ uname -a
Linux virasena.ee.iitb.ac.in 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

i m using the "l_cproc_p_11.1.056_intel64 " version to install as the "l_cproc_p_11.1.056_ia64" version gave me message that it was incompatible with my system. while installation, i get this issues.

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
----------------------------------------------------------------- ---------------
32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. One or more of these libraries
could not be found:
libstdc++
libstdc++5
glibc
libgccStep no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
----------------------------------------------------------------- ---------------
32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. One or more of these libraries
could not be found:
libstdc++
libstdc++5
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.

Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.
-----------------------
these are 32 bit libraries,! i still tried to yum all these and the yum would say that the latest version of these libraries were already present!
so , what are the steps now to install the compiler??

Quoting - dufferdev
i am using a 64 bit machine. qith fedoea 11. this is what a uname -a gives
$ uname -a
Linux virasena.ee.iitb.ac.in 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

i m using the "l_cproc_p_11.1.056_intel64 " version to install as the "l_cproc_p_11.1.056_ia64" version gave me message that it was incompatible with my system. while installation, i get this issues.

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
----------------------------------------------------------------- ---------------
32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. One or more of these libraries
could not be found:
libstdc++
libstdc++5
glibc
libgccStep no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
----------------------------------------------------------------- ---------------
32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. One or more of these libraries
could not be found:
libstdc++
libstdc++5
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.

Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.
-----------------------
these are 32 bit libraries,! i still tried to yum all these and the yum would say that the latest version of these libraries were already present!
so , what are the steps now to install the compiler??

I am facing exactly the same issue.
Posted it under following link:

http://software.intel.com/en-us/forums/showpost.php?p=85065

Hello Sir,
Am in need of your assistance in overcoming this error "No such directory"
This is the error I encounter any time I use The #include or #include
or #include "windows.h" etc.
I am using Visual C++ compiler 2005.
All I need is how to overcome this error and be able to programme with the win32 api.
If possible please help me an intel compiler .Thanks.


IS there a how to guide and tutorial to use this tool?

Hi,
I'm trying to find out why I can not bring up the intel 12.0 idb gui. The install is a 32 bit intel compiler on a 64 bit Redhat linux machine.
After setting my display environment and then try to start idb & , it does not dispay and gives an exit 13 error. I look in my log file and see all sorts of eclipse bundle errors.
Does anyone know what eclipse version I should have installed ? and what be my issue. thanks....
Oops forgot to mention that java greater than 1.5 is installed.

Best ...

Hi David,

I suspect the issue is that you are running a 32bit build of the debugger with a 64bit JRE. The debugger expects the Java JRE used to match its own running mode.

Thus you have 2 approaches that should hopefully fix your problem.

1. You could install the debugger only from the 64bit Composer XE package
2. You could go to java.com and explicitly download and install the 32bit JRE

Thanks, Rob

I use Intel Composer XE 2013 for Mac OS X and still get exactly the bug described in  http://software.intel.com/en-us/articles/use-intel-cc-compilers-v1201107... which was supposed to be fixed as of version 12!

When using the minimal example posted there: 

// snip //
icc --version
icc (ICC) 13.0.0 20120731

icc -c test1.cpp
test1.cpp(909): error: exception specification is incompatible with that of previous function "__fpclassifyf" (declared at line 497)
extern int __fpclassifyf ( float __x ) throw();
^

test1.cpp(910): error: exception specification is incompatible with that of previous function "__fpclassify" (declared at line 499)
extern int __fpclassify ( long double __x ) throw();
^

test1.cpp(911): error: exception specification is incompatible with that of previous function "__fpclassifyd" (declared at line 498)
extern int __fpclassifyd ( double __x ) throw();
^

test1.cpp(955): error: exception specification is incompatible with that of previous function "finite" (declared at line 845)
extern int finite ( double __x ) throw();
^

compilation aborted for test1.cpp (code 2)

// snip //

Any ideas on this problem?

>>...I use Intel Composer XE 2013 for Mac OS X and still get exactly the bug described in
>>software.intel.com/en-us/articles/use-intel-cc-compilers-v1201107... which was supposed to be fixed
>>as of version 12!

Thanks for the follow up. I wonder if Intel software engineers could provide some information on when it could be fixed?

 

Regarding the compilation error with the preprocessed file test1.cpp --- this is not a bug. We emulate the GNU behaviour which is that if we see incompatible exception specifications in a system header file, we do not give an error but if we see it in normal user source file (which is what you created when you said -E -P) then an error is issued. What should have been fixed is that test.cpp should no longer give an error (since the Intel header file should have been fixed to make the exception specifications compatible). And if you recreate (i.e. preprocess test.cpp again) the new test1.cpp with the latest version of the Intel header files should not give an error. Are you using your old version of test1.cpp or are you using a new version created with the latest compiler?

Judy

HI !

I am new to Intel compilers and need some clarification. pl help me 

I have got a Linux box with the below cpu type

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 8
CPU socket(s): 4
NUMA node(s): 4
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Stepping: 7
CPU MHz: 1200.000
BogoMIPS: 5399.31
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0-7,32-39
NUMA node1 CPU(s): 8-15,40-47
NUMA node2 CPU(s): 16-23,48-55
NUMA node3 CPU(s): 24-31,56-63

The RedHat version is 

Linux version 3.2.37 (root@localhost.localdomain) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Sat Apr 13 01:17:24 IST 2013

Intel processor type  is : model name      : Intel(R) Xeon(R) CPU E5-4650 0 @ 2.70GHz

Please let me know the best suitable Inel C++ compiler for this type of host.

- How to get the suitable compiler

- how to install the compiler in my host machine

- how to get the support for the compiler

thanks in advance 

Sharath

At the top of the webpage there is a menu and select Intel Platform Development -> Developer Tools item. If you don't do any Fortran programming then the most advanced versions of Intel C++ compiler could be considered:
.
http://software.intel.com/en-us/intel-sdp-home

- Intel Cluster Studio for Linux
- Intel Cluster Studio XE 2013 for Linux
- Intel System Studio for Linux 2013

Hope any one in this forum can help me, with regard to compilers and HTML5. I made an offline project for E learning, Which carries many swf and a central loader. I want to convert the content suitable for Intel app store, please comment.

Chief Executive Officer

Please follow these two web-links: software.intel.com/en-us/appup and software.intel.com/en-us/html5.

Hi, I'm using:

C++ Compiler XE 14.0.0.103 [IA-32]

I'm trying to compile:

#include <vector>

std::vector<int> v {1,2,3};

with: 

/Qstd=c++11 as a compiler option

I'm getting following error:

error: no instance of constructor "std::vector<_Ty, _Ax>::vector [with _Ty=int, _Ax=std::allocator<int>]" matches the argument list
1>            argument types are: (int, int, int)
1>  std::vector<int> v {1,2,3};
1>                     ^

Could you please explain to me why? On the form you provide:

http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler

it says that initializer lists are fully supported, yet the compile error seems to be saying the opposite.

Looking forward to your reply.

Artur

Hello Artue,

Bug fix for this Initializer List Support has been merged in the compiler 15.0 ,which would come out in 2014.
As a workaround maybe you should try call the constructor for the inner object explicitly instead of relying on the {}-initializer:

int main(void) {
  std::vector<Element> elements { Element{ "hello" }, Element{ "world" } }; }

 

Thanks,

Qiao

 

I don't think there is a bug. The 14.0 Intel compiler does support the c++11 initializer list feature. I think the problem is that you are using an older version of the Microsoft library (MSVC++ 2012 or earlier) and thus there is no library support for the std::initializer_list class. Please upgrade to  MSVC++ 2013 if you would like this to compile.

Intel does not provide its own C or C++ standard library, it uses whatever is on the system.

Judy

Judith is possibly correct.

>>Hi, I'm using:
>>
>>C++ Compiler XE 14.0.0.103 [IA-32]
>>
>>I'm trying to compile:
>>
>>#include
>>
>>std::vector v {1,2,3};

In order to verify if there is a problem please let us know what version of VS you're using. Thanks.

Hi, I'm using VS2008, and I really would like to stick with it.

If this problem (the OP) is caused by me not having the newest version of VS, is there a workaround for this, that is, I would really like to use  VS2008 but I don't mind replacing(upgrading) the libraries. Would that work?

Thank you.

afaik ,c++11 initializer list is only supported since VS2013 .

 

You would need to use the MSVC++ 2013 runtime libraries and header files. I doubt that you could just replace the libraries and headers and expect everything else (like the associated tools and other application libraries from MSVC++ 2008) to work.

Judy

Hi,

I am using a 64 bit machine having operating system fedora 10 with  "uname -a" gives
$ uname -a
Linux localhost.localdomain 2.6.27.5-117.fc10.x86_64 #1 SMP Tue Nov 18 11:58:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux.

I have installed the "l_ccompxe_2013_sp1.3.174" to compile C- code in my machine, which I got downloaded from the Intel site available for non-commercial software development. But, right after the installation when I go for giving the command 

        source /opt/intel/composer_xe_2013_sp1.3.174/bin/iccvars.sh intel64     

gives me the error message

       No supported Python (2.4 / 2.6 / 2.7) version available.

I am really at a loss what to do... Can anyone help me out how to proceed...  Actually I am newbie to Linux....

This is a requirement to run the Intel enhanced GNU* GDB Debugger (tool gdb-ia). If you don't need this debugger you can unselect the gdb from the Intel® C++ Composer XE for Linux* product installer. This should then no longer require Python. Otherwise install Python on your System which shouldn't be a big deal.

Regards, Hubert.

Thanks a lot for your kind help ....Hubert 

hi all,

i use icc to compile and got error

part of my Makefile:

C_PLATFORM=-mmic  -openmp -pthread -static -openmp-link=static
GPP=/opt/intel/bin/icpc

when i run make, got error:
x86_64-k1om-linux-ld: cannot find -liomp5

 

then, i copy libiomp5.a to /usr/linux-k1om-4.7/x86_64-k1om-linux/lib64
then make, and got error:

x86_64-k1om-linux-ld: skipping incompatible /usr/linux-k1om-4.7/linux-k1om/../x86_64-k1om-linux/lib64/libiomp5.a when searching for -liomp5
x86_64-k1om-linux-ld: skipping incompatible /usr/linux-k1om-4.7/x86_64-k1om-linux/lib64/libiomp5.a when searching for -liomp5
x86_64-k1om-linux-ld: cannot find -liomp5

--------------------------------------------

so, how to build openmp (static)? how to fix the error above?

 

There's no support for static OpenMP link with -mmic, so you would simply remove the -openmp-link option and copy or mount mic/libiomp5.so over to the coprocessor, adding its path to LD_LIBRARY_PATH if you don't put it in with the preset library shared objects.

I don't know whether the open source OpenMP library (openmprtl.org) offers a static library build, but this would be unsupported.  The library has to be built specifically for MIC native execution;  k1om-linux-ld checks for compatibility, as you saw.

You might do better to start a separate thread with a descriptive title.

thanks to tell me that "There's no support for static OpenMP link with -mmic"

but i want to transplant this program to mic native .

so i must use -mmic

when i didn't use omp, the libs is complex, if i don't use static, there are lib dependence errors on mic.

dependence is complex, can't just put the libs on mic.

so i need to compile the program with -static and -mmic

i'm comfused...:(

 

https://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-4B60BCA6-1948-4EB0-A9F3-D56AA1C683F7.htm#GUID-4B60BCA6-1948-4EB0-A9F3-D56AA1C683F7

here said omp support static link, with libiomp5.a

but,how?

 

$ icc -mmic -o test test.c -openmp

$ icc -mmic -o test test.c -openmp -static

x86_64-k1om-linux-ld: cannot find -liomp5

    $ echo $LD_LIBRARY_PATH

/opt/intel/impi/4.1.3.049/intel64/lib:/usr/local/netcdf-3.6.2_intel/lib:/opt/intel/composer_xe_2013.5.192/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013.5.192/mpirt/lib/intel64:/opt/intel/composer_xe_2013.5.192/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013.5.192/ipp/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013.5.192/compiler/lib/intel64:/opt/intel/composer_xe_2013.5.192/mkl/lib/intel64:/opt/intel/composer_xe_2013.5.192/tbb/lib/intel64/gcc4.4

$   

--------------------------

 how to compile omp static TO MIC?  or compile program with static, but the part of omp with dynamic?

登陆并发表评论。