Install Intel C/C++ Compiler (ICC) 2021.4.0
Reference: Issue in installing ICC
Version
- For O-DU Emerald version, can use oneapi 2021.4.0
- For O-DU F Version, use 2022.1.0
Background
- Compile for CPUs, GPUs, and FPGAs with an LLVM technology-based compiler that enables custom accelerator tuning and supports OpenMP for GPU offload.
- Used to compile O-DU software
OneAPI 2021.4.0
-
Go to Intel Download Center
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
-
Use command line to download installation script
- Execute downloaded script via
For more options, please refer to Installation Guide
4. Wait for a while, and the installation will complete
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
-
Go to Intel Download Center
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
-
Use command line to download installation script
- Execute downloaded script via
For more options, please refer to Installation Guide
4. Wait for a while, and the installation will complete
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- Open ~/.bashrc
- Append following environment variable
- After edit is completed, it will be like
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Some environment variables will be set in other sections.
Just focus on the variables we set above.
Create iccvar.sh
- Because we need
iccvars.sh
in other section and the file in current version is called vars.sh
, we copy vars.sh
to iccvars.sh
.
Verify installation
- Check
icc
- Check
icpc
- Check
iccvars.sh