Skip to content

Commit

Permalink
Merge pull request #11251 from JuliaLang/mn/intel15
Browse files Browse the repository at this point in the history
update intel compiler instructions
  • Loading branch information
ViralBShah committed May 13, 2015
2 parents 7a30edd + 0da9602 commit 30247d4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,16 +334,17 @@ Please be aware that this procedure is not officially supported, as it introduce

SuiteSparse is a special case, since it is typically only installed as a static library, while `USE_SYSTEM_SUITESPARSE=1` requires that it is a shared library. Running the script `contrib/repackage_system_suitesparse4.make` will copy your static system SuiteSparse installation into the shared library format required by Julia. `make USE_SYSTEM_SUITESPARSE=1` will then use the SuiteSparse that has been copied into Julia's directory, but will not build a new SuiteSparse library from scratch.

### Intel compilers and Math Kernel Libraries
### Intel compilers and Math Kernel Library (MKL)

To build Julia using the Intel compilers (icc, icpc, ifort), and link against
the [MKL] BLAS and LAPACK libraries, first make sure you have a recent version
of the compiler suite (version 15 or later).

To use the Intel [MKL] BLAS and LAPACK libraries, make sure that MKL version 10.3.6 or higher is installed.
For a 64-bit architecture, the environment should be set up as follows:

# bash
source /path/to/mkl/bin/mklvars.sh intel64 ilp64
export MKL_INTERFACE_LAYER=ILP64
source /path/to/intel/bin/compilervars.sh intel64

It is recommended that Intel compilers be used to build Julia when using MKL.
Add the following to the `Make.user` file:

USEICC = 1
Expand Down

0 comments on commit 30247d4

Please sign in to comment.