intel-oneapi
- Version:
2023.1
- Category:
devel
- Cluster:
Loki
Description
Intel oneAPI is a unified programming platform that delivers a common developer experience across CPU, GPU, FPGA, and other accelerators. It includes compilers, libraries, analysis tools, and optimized frameworks for data-centric and HPC development.
Included toolkits and components:
Intel oneAPI DPC++/C++ Compiler
Intel oneAPI Fortran Compiler (ifx, ifort)
Intel Math Kernel Library (MKL)
Intel MPI Library
Intel Data Analytics Acceleration Library (DAAL/oneDAL)
Intel Integrated Performance Primitives (IPP)
Intel VTune Profiler, Advisor, Inspector
Intel OpenMP runtime
Documentation
$ icx --help
$ ifx --help
$ dpcpp --help
Example: Intel oneAPI Compiler Help
Usage: icx [options] file...
ifx [options] file...
dpcpp [options] file...
Common options:
-O2, -O3 Optimization levels
-g Debug information
-fopenmp Enable OpenMP
-xHOST Target current architecture
-qopenmp Intel OpenMP (legacy)
-std=c++17 Set C++ standard version
For full documentation:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/documentation.html
Examples/Usage
Load the Intel oneAPI module:
$ module load devel/intel-oneapi/2023.1
Unload the module:
$ module unload devel/intel-oneapi/2023.1
Compile a C++ application with OpenMP:
icx -fopenmp -O3 -o myprog myprog.cpp
Compile a Fortran program:
ifx -O2 -o solver solver.f90
Compile with DPC++ (SYCL):
dpcpp -O2 -fsycl -o vec_add vec_add.cpp
Link with MKL libraries (using compiler wrappers):
icx -mkl mycode.c -o mycode
Installation
Source code and installers are obtained from Intel oneAPI Toolkit