Difference between revisions of "Intel Compilers and Libraries"
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
* HPC_MKL_LIB - Intel MKL library file directory | * HPC_MKL_LIB - Intel MKL library file directory | ||
* HPC_MKL_INC - Intel MKL library include file directory | * HPC_MKL_INC - Intel MKL library include file directory | ||
+ | |||
+ | == Compiling Serial Programs == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Source Langurage !! Compiler !! Command Example | ||
+ | |- | ||
+ | | C || icc || icc compiler_options example.c | ||
+ | |- | ||
+ | | C++ || icpc || icpc compiler_options example.cxx | ||
+ | |- | ||
+ | | F77 || ifort || ifort compiler_options example.f | ||
+ | |- | ||
+ | | F90 || ifort || ifort compiler_options example.f90 | ||
+ | |} | ||
<!--Configuration--> | <!--Configuration--> |
Revision as of 21:13, 8 November 2016
Description
- Note
- The default intel version is 2016.0.109.
Required Modules
Serial
- intel
System Variables
- HPC_MKL_DIR - Intel MKL library installation directory
- HPC_MKL_LIB - Intel MKL library file directory
- HPC_MKL_INC - Intel MKL library include file directory
Compiling Serial Programs
Source Langurage | Compiler | Command Example |
---|---|---|
C | icc | icc compiler_options example.c |
C++ | icpc | icpc compiler_options example.cxx |
F77 | ifort | ifort compiler_options example.f |
F90 | ifort | ifort compiler_options example.f90 |