- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The c code complies well with $ icc test.c -o test -lcrypto to run in the host. However when I want to build for mic cores, it went wrong. Any idea? Thanks very much for the help.
$ icc -mmic test.c -o test -lcrypto
test.c(4): catastrophic error: cannot open source file "openssl/rsa.h"
#include <openssl/rsa.h>
^
compilation aborted for rsa_mic.c (code 4)
$
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears that is not an aspect of the OpenSSL that is available by default when compiling for native (-mmic).
I don't know details about OpenSSL but only the bn.h header is available by default (under: /opt/mpss/3.1/sysroots/x86_64-mpsssdk-linux/usr/lib/k1om-mpss-linux/gcc/k1om-mpss-linux/4.7.0/include-fixed/openssl for MPSS 3.1) with -mmic.
The guide I noted in your earlier post contains discussion about building OpenSSL for native use. See Configuring Intel® Xeon Phi™ coprocessors inside a cluster guide (http://software.intel.com/en-us/articles/configuring-intel-xeon-phi-coprocessors-inside-a-cluster).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler is telling you that there is no openssl header in the standard include paths for the MIC. That very likely means that there is also no openssl library that has been built for MIC.
Apparently http://software.intel.com/en-us/articles/configuring-intel-xeon-phi-coprocessors-inside-a-cluster discusses how to build OpenSSL.

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