LLVM ERROR: Buffer too small for code

When using the OpenCL compiler to compile a .cl file with a large number of kernels on a machine with both a Xeon CPU and Xeon Phi, the following message is dumped:
LLVM ERROR: Buffer too small for code

Also, the kernel doesn't finish compiling.  288 kernels may be a lot, but modern compilers should be able to handle this.

It does compile on a machine without a Xeon Phi.  It also compiles for Phi if I break the file into a several files with fewer kernels.

Can anyone from Intel repeat this bug?

Parallel Computation of Sparse Rulers

This article explains the sparse ruler problem, two parallel codes for computing sparse rulers, and some new results that reveal a surprising "gap" behavior for solutions to the sparse ruler problem. The code and results are included in the attached zip file.


A complete sparse ruler is a ruler with M marks than can measure any integer distance between 0 and L units. For example, the following ruler has 6 marks (including the ends) and can measure integer distance from 0 to 13:

  • Developers
  • Professors
  • Students
  • C/C++
  • Intermediate
  • Intel® Cilk™ Plus
  • Cilk Plus
  • Intel® Streaming SIMD Extensions
  • Parallel Computing
  • Why is persistent data changing between function calls in this code

    When I print the array A again, it has different data. Why does this happen and how can I fix this?

    #define ALLOC alloc_if(1) free_if(0)
    #define FREE  alloc_if(0) free_if(1)
    #define REUSE alloc_if(0) free_if(0)


    #ifdef __INTEL_OFFLOAD
    #pragma offload_attribute(push,target(mic))

    #include <iostream>


    void alloc_set(double* A){
      #pragma offload target(mic:0) nocopy(A: length(10) ALLOC)
        for(size_t i=0;i<10;i++) A[i]=i;

    Xeon Phi refuses Putty log in

    Hi, I am trying to log into a Xeon Phi 3120A for the first time using Putty, but the log-in is refused and the connection asks for a password. What I am doing is: 1. Create public and private keys in puttygen (SSH2-RSA 1024 bit) 2. Register the public keys with the Xeon Phi with micctrl --addssh root -f "C:\Program Files\Intel\MPSS\bin\authorized_keys" It says: root: Updated with authorized key 3. micctrl --stop and then --start 4. Start putty and log into root@ with SSH auth set to use the private keys saved in a ppk file.

    Screen resolution ( 1366x768 ) stretch in Windows XP service pack 3


    I am using Intel D101GGC Mother board with 1 GB RAM and Windows XP Service pack 3.

    I replaced my CRT monitor to Samsung 18.5 inch LED - LS19B150BS-XL Monitor, I am facing the screen stretched when i changed the resolution to 1366 x 768. 

    If i changed to 1280 x720, i faced flickering issue

    Please suggest me how can avoid  this issue, I need to upgrade my mother board or my Operating system 

    Please guide me..

    my code takes lot of time to execute and returns incorrect result


    I am new to programming with MIC cards. I am trying to run a very simple program but it appears that it is taking a long time to offload the data over to the MIC card and also the final output seems to be incorrect, can anyone help me figure out my mistake, please. 

    #include <iostream>
    #include <memory>
    #include "omp.h"
    #include <malloc.h>

    using namespace std; 

    Problems installing MPSS 3.1.2

    I am attempting to install MPSS 3.1.2 on a cluster of four CentOS 6.5 boxes.  Node 1 installed fine (as per the instructions from the provided readme).  However the other three nodes are having strange issues.  The previous version of mpss was unloaded and uninstalled as per the instructions and the files located in the ...RHEL-6.5.tar were installed with yum.  However the mpss service does not start and module mic.ko will not load:

    modprobe mic
    FATAL: Module mic not found.

    about IA64 architecture?


    I have Intel Pentium Dual-Core CPU, and when I lunched the Intel Processor Identification Utility I got "Intel(R) 64 Architecture: Yes",

    here is the screenshot:

    <a href="" target="_blank"><img src=""></a>

    really this appears strange to me, since the CPU is an Intel Pentium that is not Itanium,

    so is that true that my cpu has IA64 architecture or no? thanks.


    Intel MIC with OFED



    I am trying to build hpc cluster with 4 phi card and 2 nodes.

    i am using mlx interconnect for mpi communication.


    th cluster details given below:

    centos 6.4, intel cluster 2013, MPSS 3.1.2,OFED

    Intel Phi card is configured with external network connection on bridge with eth0 interface

    opensmd,mpss,openibd,ofed-mic services are running properly.

    Only on all 4  intel phi card is used for running service program


    MIC General purpose register to vector register move

    Is there any way of moving data from general purpose register to MIC vector register without going through memory?

    By the way, xeon phi system software development guide says there is an VABSDIFPI instruction,  but there seems to be no intrinsics posted in ICC compiler reference.   So which is correct?



    Subscribe to Professors