Software Archive
Read-only legacy content
17060 Discussions

Compiling source code for phi processor on remote machine

Jong_Y_
Beginner
979 Views

Hello.

I have a server machine(every machine we have is RHEL) which the Intel Parallel Studio XE 2015 is installed on. I also have a co-processor on a different machine, and I would like to compile my codes for the co-processor on my machine. I can compile using the intel compiler just fine, but I get this error when I build it on my machine.

icpc: warning #10362: Environment configuration problem encountered.  Please check for proper MPSS installation and environment setup.

I don't get this error when I compile on the machine which the co-processor is installed on, because that machine has mpss installed.

Currently, I've tried installing mpss package on my own machine and then sourcing the intel compiler we have installed on our server machine. This seems to work. However, I would like to centralize MPSS and Intel Compiler on the server machine so that sourcing the Intel Compiler on the server machine will allow user to also compile with -mmic option, and not have to install MPSS on every user's machine. Is this possible?

0 Kudos
4 Replies
Ravi_N_Intel
Employee
979 Views

Set your env MIC_SYSROOT  to point to the MPSS installed on the server machine.

eg;  export MIC_SYSROOT=/myserver/somepath/mpss

0 Kudos
Jong_Y_
Beginner
979 Views

Ravi Narayanaswamy (Intel) wrote:

Set your env MIC_SYSROOT  to point to the MPSS installed on the server machine.

eg;  export MIC_SYSROOT=/myserver/somepath/mpss

I've installed mpss-sdk-k1om and intel-composerxe-compat-k1om on the server machine which Intel Compiler is installed.

The path to mpss is /opt/mpss, and intel compiler is /opt/intel (I think this is default paths for both).

Then I went back to my machine, mounted both intel compiler and mpss to the /opt directory, and exported MIC_SYSROOt to /opt/mpss.

However, I am still getting the error message. Am I missing something?

0 Kudos
Ravi_N_Intel
Employee
979 Views

I was informed that MIC_SYSROOT should be set to /opt/mpss/<version>/sysroots

0 Kudos
Jong_Y_
Beginner
979 Views

Ravi Narayanaswamy (Intel) wrote:

I was informed that MIC_SYSROOT should be set to /opt/mpss/<version>/sysroots

That worked. Thank you very much!

0 Kudos
Reply