Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

compile error

fcs-se
Beginner
865 Views

Hi

Could you please tell me how to resolve following compile errors?

 

$ make mic
icc -openmp  -c sampleC01.c -o sampleC01.o
icc: warning #10362: Environment configuration problem encountered.  Please check for proper MPSS installation and environment setup.
sampleC01.c(28): catastrophic error: *MIC* cannot open source file "stdio.h"
  #include <stdio.h>
                    ^

 

Thanks in advance,

Naoki.

0 Kudos
5 Replies
Kevin_D_Intel
Employee
865 Views

The aspect of MPSS containing the Intel Xeon Phi™ build environment (at least) has not been installed on your system. When missing attempts to compile fail as you showed.

Whoever setup your system appears to have overlooked installing all the required RPMs as per the MPSS readme.txt (section 2.1, step 4). They should review the installation steps and check to ensure all RPMs were installed.

0 Kudos
fcs-se
Beginner
865 Views

Kevin-san,

I installed MPSS already as follows,

I think that need to setting of recabling moss tools...


[craysp@login-001 ~]$  rpm -qa | grep mpss
mpss-metadata-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-miccheck-bin-3.1.2-r1.glibc2.12.2.x86_64
mpss-coi-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-miccheck-3.1.2-r1.glibc2.12.2.x86_64
mpss-sdk-k1om-3.1.2-1.x86_64
mpss-myo-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-psm-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-mpm-3.1.2-1.glibc2.12.2.x86_64
mpss-flash-3.1.2-1.glibc2.12.2.x86_64
mpss-license-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-micras-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-python-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-python-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-crashmgr-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-headers-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-eclipse-cdt-mpm-3.1.2-1.glibc2.12.2.x86_64
mpss-daemon-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-psm-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-headers-3.1.2-1.glibc2.12.2.x86_64
mpss-myo-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-sciftutorials-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-sciftutorials-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64
mpss-boot-files-3.1.2-1.glibc2.12.2.x86_64
mpss-coi-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-crashmgr-3.1.2-1.glibc2.12.2.x86_64
mpss-mpm-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-coi-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-myo-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-micsmc-gui-3.1.2-1.glibc2.12.2.x86_64
mpss-rasmm-kernel-3.1.2-1.glibc2.12.2.x86_64
mpss-daemon-3.1.2-1.glibc2.12.2.x86_64
mpss-metadata-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-dev-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64

 

0 Kudos
fcs-se
Beginner
865 Views

Thank you for your comments.

I can see MPSS on our system as follows,

 

$  rpm -qa | grep mpss
mpss-metadata-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-miccheck-bin-3.1.2-r1.glibc2.12.2.x86_64
mpss-coi-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-miccheck-3.1.2-r1.glibc2.12.2.x86_64
mpss-sdk-k1om-3.1.2-1.x86_64
mpss-myo-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-psm-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-mpm-3.1.2-1.glibc2.12.2.x86_64
mpss-flash-3.1.2-1.glibc2.12.2.x86_64
mpss-license-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-micras-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-python-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-python-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-crashmgr-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-headers-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-eclipse-cdt-mpm-3.1.2-1.glibc2.12.2.x86_64
mpss-daemon-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-psm-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-headers-3.1.2-1.glibc2.12.2.x86_64
mpss-myo-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-sciftutorials-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-sciftutorials-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64
mpss-boot-files-3.1.2-1.glibc2.12.2.x86_64
mpss-coi-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-crashmgr-3.1.2-1.glibc2.12.2.x86_64
mpss-mpm-doc-3.1.2-1.glibc2.12.2.x86_64
mpss-coi-dev-3.1.2-1.glibc2.12.2.x86_64
mpss-myo-3.1.2-1.glibc2.12.2.x86_64
mpss-sysmgmt-micsmc-gui-3.1.2-1.glibc2.12.2.x86_64
mpss-rasmm-kernel-3.1.2-1.glibc2.12.2.x86_64
mpss-daemon-3.1.2-1.glibc2.12.2.x86_64
mpss-metadata-3.1.2-1.glibc2.12.2.x86_64
mpss-micmgmt-3.1.2-1.glibc2.12.2.x86_64
mpss-modules-dev-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64

0 Kudos
Evan_P_Intel
Employee
865 Views

Is the intel-composerxe-compat-k1om package installed? If not, that's a likely explanation of warning #10362. (Notice that not all MPSS RPMs contain the string "mpss".)

0 Kudos
Kevin_D_Intel
Employee
865 Views

The rpm Evan noted, if not installed, can cause the error you experienced.

The error occurs when there's a disconnect with the Intel compiler and content expected in /opt/mpss. It appears the rpm that populates this area is installed so I  expect you would find /opt/mpss present on your system and containing a lot of files.

0 Kudos
Reply