User:Le Forgeron/vault/Ubuntu Icc

From POV-Wiki
Jump to navigation Jump to search
  1. Get the compiler http://software.intel.com/en-us/articles/non-commercial-software-development/
    1. Check if you qualify
    2. Register
    3. Keep note of the serial number
    4. Download the compiler (Intel© C++ Composer XE for Linux (formely Intel© C++ Compiler Professional Edition for Linux))
  2. Extract ( tar -xvf l_ccompxe_intel64_2011.9.293.tgz )
  3. Change directory (cd l_ccompxe_intel64_2011.9.293 )
  4. Set a root password (sudo passwd root )
  5. Install ( ./install.sh )
  6. Remember:
To get started using Intel(R) Composer XE 2011 Update 9 located in
/opt/intel/composer_xe_2011_sp1.9.293: 
- Set the environment variables for a terminal window using one of the following
  (replace "intel64" with "ia32" if you are using a 32-bit platform).
     For csh/tcsh:
        $ source install-dir/bin/compilervars.csh intel64
     For bash:
        $ source install-dir/bin/compilervars.sh intel64
     To invoke the installed compilers:
        For C++: icpc
        For C: icc
        For Fortran: ifort
  To get help, append the -help option or precede with the man command.
- To view a table of getting started documents: 
  install-dir/Documentation/en_US/documentation_c.htm.

Boost

  1. Get the tar ball for boost http://www.boost.org/
  2. Extract ( tar xjf boost_1_48_0.tar.bz2 )
  3. Change directory ( cd boost_1_48_0/ )
  4. Start install ( ./bootstrap.sh --prefix=/opt/intel --with-toolset=intel-linux )
  5. Reclaim ownership of /opt/intel ( sudo chmod -R jerome:jerome /opt/intel )
  6. Go further ( ./b2 install --prefix=/opt/intel )

Povray

  1. Extract the source ( tar -xvf povray-3.7.0.RC4.tar.gz )
  2. Change directory ( cd povray-3.7.0.RC4/ )
  3. Configure povray ( CXX=icc ./configure COMPILED_BY="Grimbert Jerome <[email protected]>" --disable-io-restrictions )
  4. Compile ( make -j 12 )
  5. Check ( make check )
  6. Install under anothername ( sudo cp unix/povray /usr/local/bin/povrayicc )