Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

error when compile parsec with icc.

sun_l_
New Contributor I
378 Views

error when compile http://parsec.cs.princeton.edu/parsec3-doc.htm with icc.

What's "/opt/intel/cc/latest"? it doesn't exist on my machine. should i make a cc fold?

----------
[root@amax parsec-3.0]# cd /opt/intel
[root@amax intel]# ls
bin                     composerxe  ism       mic    
cnc                     impi        lib       mkl    
include     licenses  mpi-rt  
  ipp         man       tbb

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

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

 some config of icc.bldconf

# CC_HOME is the installation root of the C compiler
  export CC_HOME="/opt/intel/cc/latest"  
#  export CC_HOME="/opt/intel/bin/"

when i changed CC_HOME to "/opt/intel/bin/", still error

 

 
-----------
[root@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@amax parsec-3.0]#

[root@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@amax parsec-3.0]#

 

------------
Thanks,
Allen

0 Kudos
0 Replies
Reply