[parsec-users] Building parsec 3.0 with icc on ubuntu 12.04

Kim Jarvis kim.jarvis at tpfsystems.com
Mon Jan 7 11:37:53 EST 2013

Building parsec 3.0 with icc on ubuntu 12.04

The following libraries are required to build using both gcc and icc.

sudo apt-get install -y build-essential m4 x11proto-xext-dev 
libglu1-mesa-dev libxi-dev libxmu-dev

On a 64 bit machine the intel compiler will be installed in the 
/bin/intel64 directory
Note the preprocessor call to icc is made with the -E option.

Modify as config/icc.bldconf to access the intel compiler in its default 
directory as per the following patch.

--- /home/kim/parsec-3.0/config/icc.bldconf    2013-01-07 
15:37:57.851216801 +0000
+++ /home/kim/software/parsec-3.0/config/icc.bldconf    2012-09-05 
03:51:05.000000000 +0100
@@ -41,11 +41,11 @@
    # Linux + default case

    # CC_HOME is installation root of the C compiler
-  export CC_HOME="/opt/intel/composer_xe_2013.1.117"
+  export CC_HOME="/opt/intel/cc/latest"
    # GCC_HOME is installation root of the GNU C compiler
-  export GCC_HOME="/usr"
+  export GCC_HOME="/usr/local/gcc-4.2.1"
    # BINUTIL_HOME is installation root of the GNU binutils
-  export BINUTIL_HOME="/usr"
+  export BINUTIL_HOME="/usr/local"
    # GNUTOOL_HOME is installation root of the GNU tools
    export GNUTOOL_HOME="/usr"
    # BINARY_PREFIX is the string which is used as prefix for the GNU 
@@ -54,9 +54,9 @@

  # Compilers and preprocessors
-export CC="${CC_HOME}/bin/intel64/icc"
-export CXX="${CC_HOME}/bin/intel64/icpc"
-export CPP="${CC_HOME}/bin/intel64/icc -E"
+export CC="${CC_HOME}/bin/icc"
+export CXX="${CC_HOME}/bin/icpc"
+export CPP="${CC_HOME}/bin/cpp"
  export CXXCPP=""

  # GNU Binutils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20130107/7264be57/attachment.html>

More information about the parsec-users mailing list