Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

/usr/bin/ld: cannot find -lmpigc4

$
0
0

I installed intel MPI Library 4.1.0.024 and tried compiling a MPI program. If I compile it without -mmic, there's no problem. But when I add  -mmic, here's  the  error message:

/usr/bin/ld: skipping incompatible /opt/intel/impi/4.1.0.024/mic/lib/libmpigc4.so when searching for -lmpigc4
/usr/bin/ld: skipping incompatible /opt/intel/impi/4.1.0.024/mic/lib/libmpigc4.a when searching for -lmpigc4
/usr/bin/ld: cannot find -lmpigc4

I can find the file of libmpigc4.so and libmpigc4.a in the directory of  /opt/intel/impi/4.1.0.024/mic/lib. And the PATH in .bashrc is:

source /opt/intel/impi/4.1.0.024/intel64/bin/mpivars.sh

Even I change it to: source /opt/intel/impi/4.1.0.024/mic/bin/mpivars.sh, it gives me the same error.

I need your help. Thank you much

Zhao


Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>