[parsec-users] error when compile with icc

Sunshine 492096437 at qq.com
Tue Mar 31 22:29:32 EDT 2015


error when compile with icc.‍
What's "/opt/intel/cc/latest‍"? it doesn't exist on my machine.
----------
[root at amax parsec-3.0]# cd /opt/intel
[root at amax intel]# ls
bin                     composerxe  ism       mic     
cnc                     impi        lib       mkl     
include     licenses  mpi-rt  
  ipp         man       tbb
[root at amax intel]# ‍

--------------


the log file in amd64-linux.icc is same with followings: ‍
-----------
[root at amax parsec-3.0]# parsecmgmt -a build -c icc
[PARSEC] Packages to build:  blackscholes bodytrack facesim ferret freqmine raytrace swaptions fluidanimate vips x264 canneal dedup streamcluster


[PARSEC] [========== Building package blackscholes ==========]
[PARSEC] [---------- Analyzing package blackscholes ----------]
[PARSEC] Package blackscholes already exists, proceeding.


[PARSEC] [========== Building package bodytrack ==========]
[PARSEC] [---------- Analyzing package bodytrack ----------]
[PARSEC] bodytrack does not depend on any other packages.
[PARSEC] [---------- Building package bodytrack ----------]
[PARSEC] Removing old build directory.
[PARSEC] Running 'env CXXFLAGS=-gcc-name=/usr/bin/gcc/bin/gcc -gcc -I/usr/bin/gcc/include/c++/4.2.1 -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -DPARSEC_VERSION=2.1 -fexceptions /root/mic/parsec/parsec-2.1/pkgs/apps/bodytrack/src/configure --enable-threads --disable-openmp --disable-tbb --prefix=/root/mic/parsec/parsec-2.1/pkgs/apps/bodytrack/inst/amd64-linux.icc':
checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether /usr/bin/make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by /usr/bin/make... GNU
checking for gcc... /opt/intel/bin/icc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
[PARSEC] Error: 'env CXXFLAGS=-gcc-name=/usr/bin/gcc/bin/gcc -gcc -I/usr/bin/gcc/include/c++/4.2.1 -O3 -funroll-loops -opt-prefetch -fpermissive -fno-exceptions -DPARSEC_VERSION=2.1 -fexceptions /root/mic/parsec/parsec-2.1/pkgs/apps/bodytrack/src/configure --enable-threads --disable-openmp --disable-tbb --prefix=/root/mic/parsec/parsec-2.1/pkgs/apps/bodytrack/inst/amd64-linux.icc' failed.
[root at amax parsec-3.0]# ‍



[root at amax parsec-3.0]# parsecmgmt -a build -c icc -p x264
[PARSEC] Packages to build:  x264


[PARSEC] [========== Building package x264 ==========]
[PARSEC] [---------- Analyzing package x264 ----------]
[PARSEC] x264 depends on: yasm
[PARSEC] [---------- Analyzing package yasm ----------]
[PARSEC] yasm does not depend on any other packages.
[PARSEC] [---------- Building package yasm ----------]
[PARSEC] Removing old build directory.
[PARSEC] Running 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib  /root/mic/parsec/parsec-2.1/pkgs/tools/yasm/src/configure --prefix=/root/mic/parsec/parsec-2.1/pkgs/tools/yasm/inst/amd64-linux.icc':
checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by /usr/bin/make... GNU
checking for gcc... /opt/intel/bin/icc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
[PARSEC] Error: 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib  /root/mic/parsec/parsec-2.1/pkgs/tools/yasm/src/configure --prefix=/root/mic/parsec/parsec-2.1/pkgs/tools/yasm/inst/amd64-linux.icc' failed.
[root at amax parsec-3.0]# ‍


[root at amax parsec-3.0]# whereis icc
icc: /opt/intel/bin/icc
[root at amax parsec-3.0]# whereis cc
cc: /usr/bin/cc

‍



------------
Thanks,
Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20150401/6b2aacd2/attachment.html>


More information about the parsec-users mailing list