Software Archive
Read-only legacy content
17060 Discussions

Compile on machine without a MIC card for MPSS 3.2.3

jasno
Beginner
673 Views

I have seen a few posts about this, but they seem out of date so I am asking afresh . . . .

I am trying to compile on a mchine that does not have a MIC card (its part of a cluster where the MICs are on the compute nodes) and I get the standard errors regarding environment. From poking around on a mchine with a MIC card I can see that it requires the mpss tools/libs etc in /opt/mpss/<mpps ver>/ so I have copied this whole directory to the same place on the machine without the MIC card but still no joy.

Is there something else it needs from somewhere else ? Is it trying to get the mpss version from somewhere but failing so can't construct the rest of the path below /opt/mpss ?

The machine has compiler

$ icc --version
icc (ICC) 13.0.1 20121010
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.

and the machine with the MIC has mpss 3.2.3

I do not have the ability to update the compiler, not to install anything from rpm . . . within those constraints  is there anything I can do to make this work ?

jasno

0 Kudos
2 Replies
Evan_P_Intel
Employee
673 Views

Cross-compilation with that version of ICC (actually, all extant versions as far as I'm aware) and MPSS 3.x depends on (the contents of) two RPMs: mpss-sdk-k1om, which installs the /opt/mpss tree, and intel-composerxe-compat-k1om, which installs various symlinks corresponding to where the files installed by mpss-sdk-k1om used to be located in MPSS 2.x.

You've already copied the content of /opt/mpss over; you just need to copy the symlink trees too. If you're unable to install the missing RPM directly, you might consider using rpm2cpio on it and then extracting the resulting archive on the machine in question; it is, of course, possible to copy over by hand too.

0 Kudos
jasno
Beginner
673 Views

Evan Powers (Intel) wrote:

Cross-compilation with that version of ICC (actually, all extant versions as far as I'm aware) and MPSS 3.x depends on (the contents of) two RPMs: mpss-sdk-k1om, which installs the /opt/mpss tree, and intel-composerxe-compat-k1om, which installs various symlinks corresponding to where the files installed by mpss-sdk-k1om used to be located in MPSS 2.x.

You've already copied the content of /opt/mpss over; you just need to copy the symlink trees too. If you're unable to install the missing RPM directly, you might consider using rpm2cpio on it and then extracting the resulting archive on the machine in question; it is, of course, possible to copy over by hand too.

Great, thanks for the info. Seems there is a tree of symlinks in /usr/linux-k1om-4.7 that point to /opt/mpss

Have it working now.

 

0 Kudos
Reply