wiki:InstallIntelCompiler

Installing the Intel Compiler 2017 release and later

The Oxford ARC hosts versions of Intel compilers which, since 2017, are bundled as Parallel Studio XE:

Information here, and direct link to compilers here.

Alternatively, you can grab a copy of Parallel Studio XE 2017 update 1 from scoop:

scp chaste@scoop.cs.ox.ac.uk:src/parallel_studio_xe_2017_update1_composer_edition_for_cpp.tgz .
tar -zxf parallel_studio_xe_2017_update1_composer_edition_for_cpp.tgz
./parallel_studio_xe_2017_update1_composer_edition_for_cpp/install.sh

I followed the "Run using sudo privileges..." route.

Everything was installed into /opt/intel.

As detailed below, to avoid installing 32 bit components for IA-32 support, select "2. Customize installation" when prompted, and then under "Target Architecture(s) of your applications:" select 1 to de-select IA-32. You can then continue with the default options.

Note: there is a GUI installer available, but I did not try it.

Installing the Intel Fortran Compiler 2017 (for compiling PETSc with hypre)

scp chaste@scoop.cs.ox.ac.uk:src/parallel_studio_xe_2017_update1_composer_edition_for_fortran.tgz .
tar -zxf parallel_studio_xe_2017_update1_composer_edition_for_fortran.tgz
./parallel_studio_xe_2017_update1_composer_edition_for_fortran/install.sh

Installation the same as the C++ compiler, above.

Installing the Intel Compiler up to 2015 release

Grab a copy from scoop:

scp chaste@scoop.cs.ox.ac.uk:src/l_ccompxe_intel64_2013.0.079.tgz .
tar -zxf l_ccompxe_intel64_2013.0.079.tgz
./l_ccompxe_intel64_2013.0.079/install.sh

For Ubuntu 14.04 (and newer, probably!) you need the 2015 release instead:

scp chaste@scoop.cs.ox.ac.uk:src/l_ccompxe_2015.2.164.tgz .
tar -zxf l_ccompxe_2015.2.164.tgz
./l_ccompxe_2015.2.164/install.sh

For a Fortran (ifort) compiler

scp chaste@scoop.cs.ox.ac.uk:src/l_fcompxe_2015.2.164.tgz .
tar -zxf l_fcompxe_2015.2.164.tgz
./l_fcompxe_2015.2.164/install.sh

We followed the "install using sudo" route, and gave "28519@flexlm.nsms.ox.ac.uk" as the license server to use. Everything was installed into /opt/intel.

Note: to avoid needing 32-bit libraries, change the components installed to remove the IA-32 support. Select "2. Customize installation" when prompted, and then under "Target Architecture(s) of your applications:" select 1 to de-select IA-32. You can then continue with the default options.

Finally, add the following to the top of your .bashrc to enable the compiler for all sessions:

source /opt/intel/bin/compilervars.sh intel64
export INTEL_LICENSE_FILE="28519@flexlm.nsms.ox.ac.uk"
Last modified 3 years ago Last modified on Apr 6, 2017, 5:25:41 PM