- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have grabbed a copy icc_2013.1.046 and mps-3.3. I did the standard install of both, with icc being done on a node with a MIC using the --SHARED_INSTALL flag.
However, I have some issues to compile codes for the Phi. Here is a simple hello_world reproducer
[root@sandy8 ~]# icc -mmic /tmp/hello.c
icc: warning #10362: Environment configuration problem encountered. Please check for proper MPSS installation and environment setup.
In file included from /tmp/hello.c(1):
/usr/linux-k1om-4.7/linux- k1om/usr/include/stdio.h(34): catastrophic error: cannot open source file "stddef.h"
# include <stddef.h>
^
compilation aborted for /tmp/hello.c (code 4)
[root@sandy8 ~]# cat /tmp/hello.c
#include <stdio.h>
main(void)
{
return 0;
}
Please let me know if am I missing something here ? is these two versions compatible ?
Thanks a lot in advance
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is likely that the k1om (binutils) were not installed. Check that the mpss-sdk-k1om-3.3-1.x86_64.rpm file was installed (sudo rpm -qa | grep -e intel-mic -e mpss-sdk)
Not related to the issue, but you might also consider obtaining the latest compiler to use with the latest MPSS. The .046 is over a year old. The latest release is the CXE 2013 SP1 Update 3 (l_ccompxe_2013.1.3.174)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page