<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error when compile parsec with icc. in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/error-when-compile-parsec-with-icc/m-p/1003240#M6420</link>
    <description>&lt;P&gt;error when compile &lt;A href="http://parsec.cs.princeton.edu/parsec3-doc.htm"&gt;http://parsec.cs.princeton.edu/parsec3-doc.htm&lt;/A&gt;&amp;nbsp;with icc.&lt;/P&gt;

&lt;P&gt;What's "/opt/intel/cc/latest"? it doesn't exist on my machine. should i make a cc fold?&lt;/P&gt;

&lt;P&gt;----------&lt;BR /&gt;
	[root@amax parsec-3.0]# cd /opt/intel&lt;BR /&gt;
	[root@amax intel]# ls&lt;BR /&gt;
	bin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; composerxe &amp;nbsp;ism &amp;nbsp; &amp;nbsp; &amp;nbsp; mic &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	cnc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; impi &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lib &amp;nbsp; &amp;nbsp; &amp;nbsp; mkl &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	include &amp;nbsp; &amp;nbsp; licenses &amp;nbsp;mpi-rt &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; ipp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; man &amp;nbsp; &amp;nbsp; &amp;nbsp; tbb&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;[root@amax parsec-3.0]# whereis icc&lt;BR /&gt;
	icc: /opt/intel/bin/icc&lt;BR /&gt;
	[root@amax parsec-3.0]# whereis cc&lt;BR /&gt;
	cc: /usr/bin/cc&lt;/P&gt;

&lt;P&gt;--------------&lt;/P&gt;

&lt;P&gt;&amp;nbsp;some config of icc.bldconf&lt;/P&gt;

&lt;P&gt;# CC_HOME is the installation root of the C compiler&lt;BR /&gt;
	&amp;nbsp; export CC_HOME="/opt/intel/cc/latest" &amp;nbsp;&lt;BR /&gt;
	# &amp;nbsp;export CC_HOME="/opt/intel/bin/"&lt;/P&gt;

&lt;P&gt;when i changed&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;CC_HOME to&amp;nbsp;"/opt/intel/bin/", still error&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;BR /&gt;
	-----------&lt;BR /&gt;
	[root@amax parsec-3.0]# parsecmgmt -a build -c icc&lt;BR /&gt;
	[PARSEC] Packages to build: &amp;nbsp;blackscholes bodytrack facesim ferret freqmine raytrace swaptions fluidanimate vips x264 canneal dedup streamcluster&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package blackscholes ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package blackscholes ----------]&lt;BR /&gt;
	[PARSEC] Package blackscholes already exists, proceeding.&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package bodytrack ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package bodytrack ----------]&lt;BR /&gt;
	[PARSEC] bodytrack does not depend on any other packages.&lt;BR /&gt;
	[PARSEC] [---------- Building package bodytrack ----------]&lt;BR /&gt;
	[PARSEC] Removing old build directory.&lt;BR /&gt;
	[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':&lt;BR /&gt;
	checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c&lt;BR /&gt;
	checking whether build environment is sane... yes&lt;BR /&gt;
	checking for gawk... gawk&lt;BR /&gt;
	checking whether /usr/bin/make sets $(MAKE)... yes&lt;BR /&gt;
	checking build system type... x86_64-unknown-linux-gnu&lt;BR /&gt;
	checking host system type... x86_64-unknown-linux-gnu&lt;BR /&gt;
	checking for style of include used by /usr/bin/make... GNU&lt;BR /&gt;
	checking for gcc... /opt/intel/bin/icc&lt;BR /&gt;
	checking for C compiler default output file name... configure: error: C compiler cannot create executables&lt;BR /&gt;
	See `config.log' for more details.&lt;BR /&gt;
	[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.&lt;BR /&gt;
	[root@amax parsec-3.0]#&lt;/P&gt;

&lt;P&gt;[root@amax parsec-3.0]# parsecmgmt -a build -c icc -p x264&lt;BR /&gt;
	[PARSEC] Packages to build: &amp;nbsp;x264&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package x264 ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package x264 ----------]&lt;BR /&gt;
	[PARSEC] x264 depends on: yasm&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package yasm ----------]&lt;BR /&gt;
	[PARSEC] yasm does not depend on any other packages.&lt;BR /&gt;
	[PARSEC] [---------- Building package yasm ----------]&lt;BR /&gt;
	[PARSEC] Removing old build directory.&lt;BR /&gt;
	[PARSEC] Running 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib &amp;nbsp;/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':&lt;BR /&gt;
	checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c&lt;BR /&gt;
	checking whether build environment is sane... yes&lt;BR /&gt;
	checking for a thread-safe mkdir -p... /bin/mkdir -p&lt;BR /&gt;
	checking for gawk... gawk&lt;BR /&gt;
	checking whether /usr/bin/make sets $(MAKE)... yes&lt;BR /&gt;
	checking whether to enable maintainer-specific portions of Makefiles... no&lt;BR /&gt;
	checking for style of include used by /usr/bin/make... GNU&lt;BR /&gt;
	checking for gcc... /opt/intel/bin/icc&lt;BR /&gt;
	checking for C compiler default output file name...&lt;BR /&gt;
	configure: error: C compiler cannot create executables&lt;BR /&gt;
	See `config.log' for more details.&lt;BR /&gt;
	[PARSEC] Error: 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib &amp;nbsp;/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.&lt;BR /&gt;
	[root@amax parsec-3.0]#&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;------------&lt;BR /&gt;
	Thanks,&lt;BR /&gt;
	Allen&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2015 01:50:30 GMT</pubDate>
    <dc:creator>sun_l_</dc:creator>
    <dc:date>2015-04-01T01:50:30Z</dc:date>
    <item>
      <title>error when compile parsec with icc.</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/error-when-compile-parsec-with-icc/m-p/1003240#M6420</link>
      <description>&lt;P&gt;error when compile &lt;A href="http://parsec.cs.princeton.edu/parsec3-doc.htm"&gt;http://parsec.cs.princeton.edu/parsec3-doc.htm&lt;/A&gt;&amp;nbsp;with icc.&lt;/P&gt;

&lt;P&gt;What's "/opt/intel/cc/latest"? it doesn't exist on my machine. should i make a cc fold?&lt;/P&gt;

&lt;P&gt;----------&lt;BR /&gt;
	[root@amax parsec-3.0]# cd /opt/intel&lt;BR /&gt;
	[root@amax intel]# ls&lt;BR /&gt;
	bin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; composerxe &amp;nbsp;ism &amp;nbsp; &amp;nbsp; &amp;nbsp; mic &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	cnc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; impi &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lib &amp;nbsp; &amp;nbsp; &amp;nbsp; mkl &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	include &amp;nbsp; &amp;nbsp; licenses &amp;nbsp;mpi-rt &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; ipp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; man &amp;nbsp; &amp;nbsp; &amp;nbsp; tbb&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;[root@amax parsec-3.0]# whereis icc&lt;BR /&gt;
	icc: /opt/intel/bin/icc&lt;BR /&gt;
	[root@amax parsec-3.0]# whereis cc&lt;BR /&gt;
	cc: /usr/bin/cc&lt;/P&gt;

&lt;P&gt;--------------&lt;/P&gt;

&lt;P&gt;&amp;nbsp;some config of icc.bldconf&lt;/P&gt;

&lt;P&gt;# CC_HOME is the installation root of the C compiler&lt;BR /&gt;
	&amp;nbsp; export CC_HOME="/opt/intel/cc/latest" &amp;nbsp;&lt;BR /&gt;
	# &amp;nbsp;export CC_HOME="/opt/intel/bin/"&lt;/P&gt;

&lt;P&gt;when i changed&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;CC_HOME to&amp;nbsp;"/opt/intel/bin/", still error&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;BR /&gt;
	-----------&lt;BR /&gt;
	[root@amax parsec-3.0]# parsecmgmt -a build -c icc&lt;BR /&gt;
	[PARSEC] Packages to build: &amp;nbsp;blackscholes bodytrack facesim ferret freqmine raytrace swaptions fluidanimate vips x264 canneal dedup streamcluster&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package blackscholes ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package blackscholes ----------]&lt;BR /&gt;
	[PARSEC] Package blackscholes already exists, proceeding.&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package bodytrack ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package bodytrack ----------]&lt;BR /&gt;
	[PARSEC] bodytrack does not depend on any other packages.&lt;BR /&gt;
	[PARSEC] [---------- Building package bodytrack ----------]&lt;BR /&gt;
	[PARSEC] Removing old build directory.&lt;BR /&gt;
	[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':&lt;BR /&gt;
	checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c&lt;BR /&gt;
	checking whether build environment is sane... yes&lt;BR /&gt;
	checking for gawk... gawk&lt;BR /&gt;
	checking whether /usr/bin/make sets $(MAKE)... yes&lt;BR /&gt;
	checking build system type... x86_64-unknown-linux-gnu&lt;BR /&gt;
	checking host system type... x86_64-unknown-linux-gnu&lt;BR /&gt;
	checking for style of include used by /usr/bin/make... GNU&lt;BR /&gt;
	checking for gcc... /opt/intel/bin/icc&lt;BR /&gt;
	checking for C compiler default output file name... configure: error: C compiler cannot create executables&lt;BR /&gt;
	See `config.log' for more details.&lt;BR /&gt;
	[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.&lt;BR /&gt;
	[root@amax parsec-3.0]#&lt;/P&gt;

&lt;P&gt;[root@amax parsec-3.0]# parsecmgmt -a build -c icc -p x264&lt;BR /&gt;
	[PARSEC] Packages to build: &amp;nbsp;x264&lt;/P&gt;

&lt;P&gt;[PARSEC] [========== Building package x264 ==========]&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package x264 ----------]&lt;BR /&gt;
	[PARSEC] x264 depends on: yasm&lt;BR /&gt;
	[PARSEC] [---------- Analyzing package yasm ----------]&lt;BR /&gt;
	[PARSEC] yasm does not depend on any other packages.&lt;BR /&gt;
	[PARSEC] [---------- Building package yasm ----------]&lt;BR /&gt;
	[PARSEC] Removing old build directory.&lt;BR /&gt;
	[PARSEC] Running 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib &amp;nbsp;/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':&lt;BR /&gt;
	checking for a BSD-compatible install... /root/mic/parsec/parsec-2.1/bin/install -c&lt;BR /&gt;
	checking whether build environment is sane... yes&lt;BR /&gt;
	checking for a thread-safe mkdir -p... /bin/mkdir -p&lt;BR /&gt;
	checking for gawk... gawk&lt;BR /&gt;
	checking whether /usr/bin/make sets $(MAKE)... yes&lt;BR /&gt;
	checking whether to enable maintainer-specific portions of Makefiles... no&lt;BR /&gt;
	checking for style of include used by /usr/bin/make... GNU&lt;BR /&gt;
	checking for gcc... /opt/intel/bin/icc&lt;BR /&gt;
	checking for C compiler default output file name...&lt;BR /&gt;
	configure: error: C compiler cannot create executables&lt;BR /&gt;
	See `config.log' for more details.&lt;BR /&gt;
	[PARSEC] Error: 'env LIBS=-L/opt/intel/lib/intel64 -L/opt/intel/lib &amp;nbsp;/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.&lt;BR /&gt;
	[root@amax parsec-3.0]#&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;------------&lt;BR /&gt;
	Thanks,&lt;BR /&gt;
	Allen&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 01:50:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/error-when-compile-parsec-with-icc/m-p/1003240#M6420</guid>
      <dc:creator>sun_l_</dc:creator>
      <dc:date>2015-04-01T01:50:30Z</dc:date>
    </item>
  </channel>
</rss>

