全部处理;
我想用ubuntu 14.04 x64中的intel icc和icpc制作openmpi 1.10.2,所以首先我安装了英特尔编译器,检查一下:
$ icc -v
$ icc version 13.1.0 (gcc version 4.7.0 compatibility)
$ icpc -v
$ icpc version 13.1.0 (gcc version 4.7.0 compatibility)
$ which icc
$ /opt/intel/composer_xe_2013.2.146/bin/intel64/icc
$ which icpc
$ /opt/intel/composer_xe_2013.2.146/bin/intel64/icpc
after these, in openmpi directory:
$ ./configure --prefix=/usr/local CC=icc CXX=icpc
... output of configure ...
$ sudo make
... output of make ...
$ sudo make install
/home/riza/openmpi-1.10.2/libtool: line 8979: icc: command not found
libtool: install: error: relink `libopen-rte.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/riza/openmpi-1.10.2/orte'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/riza/openmpi-1.10.2/orte'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/riza/openmpi-1.10.2/orte'
make: *** [install-recursive] Error 1你能帮帮我吗?
Reza
发布于 2016-09-15 18:13:27
因为libtool找不到icc和icpc的位置,所以您应该提供到它们的确切链接。在您的情况下,尝试:
./configure --prefix=/usr/local CC=/opt/intel/composer_xe_2013.2.146/bin/intel64/icc CXX=/opt/intel/composer_xe_2013.2.146/bin/intel64/icpc发布于 2016-04-25 17:46:08
很可能您的根帐户没有指向Intel Composer的相同环境指针。尝试在不使用sudo和--prefix的情况下安装,在您拥有(或可以轻松拥有)目录的地方安装,并建立到/usr/local的符号链接。
https://stackoverflow.com/questions/35341403
复制相似问题