tar ZXVF openmpi - 4.0.5. Tar. Gz
CD openmpi - 4.0.5
./configure CC=ICC CXX=icpc FC=ifort F77=ifort
Make
[step until the virtual machine running]
sudo make install
Then problems
My ICC should be installed successfully

Page link:https//www.codepudding.com/os/89994.html