A TBB example does not compile in VS 2013

Hello All,

I was able to build and run shortpath example using the nmake and the Makefile to build the example. In the command line window (in Spanish is: Simbolo del sistema, I think Prompt window in English) I ran tbbvars.bat and I fixed PATH and INCLUDE environment variables:

set PATH=C:\Program Files (x86)\Microsoft Visual C++ Compiler Nov 2013 CTP\bin;%PATH%

set INCLUDE=C:\Program Files (x86)\Microsoft Visual C++ Compiler Nov 2013 CTP\include;%INCLUDE%

Then I executed nmake and the executable was built and I ran it.

Linker Problems with Nonstandard GCC Installation

In our CentOS 6.6 system we have a nonstandard gcc installation - let's say it's /opt/gcc49 - and the "standard" gcc installation as well, both with their own includes and libstdc++.


There's an option in icpc command, -cxxlib, which can be used to define the directory for C++ standard library. Using -cxxlib=/opt/gcc49 option helps with header files, but not with libstdc++ - even with this option it still takes /usr/lib/libstdc++.a instead of /opt/gcc49/lib/libstdc++.a


MICs and VLANs

We have a VLAN that needs to be accessed via VLAN Tagging.  This is enabled
on the compute hosts as eth2.3.  I've configured eth2 as a bridge (br1) and
included the mic cards (mic0, mic1) in this bridge.  Creating br1.3 works
to route on the vlan, but the MIC hosts don't seem to support this.

Are there any packages we may be missing for VLAN support?

Two bridges

Hi guys,

We have faced with a requirement to setup two network bridges and include both MICs into the both networks (on each host of the cluster). Is it possible to implement such configuration with the latest MPSS?

Best regards,

administrative privileges issue when using VTune Amplifier


            I  am trying to use VTune Amplifier with demo project tachyon_vtune_amp_xe.zip in C:\Program Files (x86)\Intel\VTune Amplifier XE 2015\samples\en\C++, but not sure why it reports below issue, so look for help here

             It says:  Collection failed.The data cannot be displayed.  Highly accurate CPU time collection is disabled for this analysis.To enable this feature, run the product with the administrative privileges.  [Instrumentation Engine]: SYSCALL_INSPECTOR:Too long trace in the NTDLL!NtSetContextThread function.

How to align the 3D array which is dynamic allocated by new operator to 64 bytes?


I am using pointer to dynamic allocate a 3D array like this:

double ***p;

p=new double** [x_dimension];
    for (int i=0; i<x_dimension; i++)
        phi[i]=new double* [y_dimension];
        for(int j=0; j<y_dimension; j++)
            phi[i][j]=new double [z_dimension];

How can I rewrite the code to make sure the allocated memory is 64 bytes alignment?


Subscribe to Optimization